Open LastLighter opened 1 month ago
我查看了mapper通用方法的文档,但是没有发现有对数据表进行分页查询的方法。 感觉上这是个开发中挺常用的功能。 后续会考虑加上吗?
分页需要支持多种数据库,配合分页插件使用:https://github.com/pagehelper/Mybatis-PageHelper
如果一定会分页,可以用RowBounds,或者PageRowBounds参数。配合分页插件自动转换为物理分页。
我查看了mapper通用方法的文档,但是没有发现有对数据表进行分页查询的方法。 感觉上这是个开发中挺常用的功能。 后续会考虑加上吗?