mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 17:18:24 +08:00
update docs/zh/base/db-row.md.
Signed-off-by: ζั͡ ั͡ ั͡ ั͡Wm <1395961821@qq.com>
This commit is contained in:
parent
a082dcc553
commit
39c9a30464
@ -24,7 +24,7 @@ Account account = row.toEntity(Account.class);
|
||||
|
||||
//查询所有大于 18 岁的用户
|
||||
String listsql = "select * from tb_account where age > ?"
|
||||
List<Row> rows = Db.selectListBySql(sql,18);
|
||||
List<Row> rows = Db.selectListBySql(listsql,18);
|
||||
|
||||
|
||||
//分页查询:每页 10 条数据,查询第 3 页的年龄大于 18 的用户
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user