| 程序包 | 说明 |
|---|---|
| net.oschina.durcframework.easymybatis.dao | |
| net.oschina.durcframework.easymybatis.query | |
| net.oschina.durcframework.easymybatis.query.projection |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
DeleteDao.delByExpression(Queryable query)
根据条件删除
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Query
查询类
根据主键查询:
User user = dao.get(1);
查询姓名为张三的用户:
User user = dao.getByProperty("username","张三");
查询姓名为张三的用户返回列表:
List
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ProjectionQuery
聚合查询
|
Copyright © 2018. All Rights Reserved.