mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
!195 update docs/zh/base/db-row.md.
Merge pull request !195 from ζั͡ ั͡ ั͡ ั͡Wm/N/A
This commit is contained in:
commit
842b9ece0f
@ -24,7 +24,7 @@ Account account = row.toEntity(Account.class);
|
|||||||
|
|
||||||
//查询所有大于 18 岁的用户
|
//查询所有大于 18 岁的用户
|
||||||
String listsql = "select * from tb_account where age > ?"
|
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 的用户
|
//分页查询:每页 10 条数据,查询第 3 页的年龄大于 18 的用户
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user