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

Merge pull request !195 from ζั͡ ั͡ ั͡ ั͡Wm/N/A
This commit is contained in:
Michael Yang 2023-07-27 04:34:19 +00:00 committed by Gitee
commit 842b9ece0f
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 岁的用户 //查询所有大于 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 的用户