开源项目学习记录
sqlbuilder
源码地址:https://github.com/jkrasnay/sqlbuilder
使用场合:ORM、查询引擎、对象转为SQL
特点:让ORM更简单
SQL: select name,age from Emploee where dept='engineering' and salary>100000
相应的JAVA: new SelectBuilder().column("name").column("age").from("Employee")
.where("dept = 'engineering'").where("salary > 100000").toString();