简单的orm工具,为动态表单而生
Java
Latest commit dac85fc Jan 3, 2017 @zhou-hao zhou-hao 新增直接遍历list

README.md

一个简单的orm工具

    //....some code
    Query query = table.createQuery();

    //where name=? or name = ?
    query.where("name","张三").or("name","李四").list();

    //where name=? and (name=? or name=?)
    query.where("name","张三")
         .nest("name","李四").or("name","王五").end()
         .list();
    // where name like ?
    query.where().sql("name like ?","张三").list();