lua-resty-mongol
lua-resty-mongol copied to clipboard
请问如果想分页查询需要使用哪个api呢
我想实现分页查询的功能 目前使用 cursor = col:find({JOB_NAME="JOB_NAME"},{},10) 可以返回我想要的数据量,但是不知道使用哪个api来区分页码,请提供一个示例程序,多谢。
limit numbertoskip There is no realization col:query(query,returnfields,toskip,limit) order by sort There is no realization