update docs/zh/base/db-row.md.

Signed-off-by: ζั͡ ั͡ ั͡ ั͡Wm <1395961821@qq.com>
This commit is contained in:
ζั͡ ั͡ ั͡ ั͡Wm 2023-07-27 03:50:04 +00:00 committed by Gitee
parent a082dcc553
commit 39c9a30464
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 的用户