This topic created in 4770 days ago, the information mentioned may be changed or developed.
6 replies • 1970-01-01 08:00:00 +08:00
 |
|
LIMIT 啊。
|
 |
|
咬文嚼字的说,根本不存在所谓 “连续” 的ID。
|
 |
|
LIMIT+ORDER BY (DESC|ASC)
|
 |
|
没有啥连续不连续的,你的列表里的元素间有顺序关系,那么就可以实现分页。
|
 |
|
`id` > #{last_id} LIMIT #{page_size}
|