lua-resty-mongol icon indicating copy to clipboard operation
lua-resty-mongol copied to clipboard

请问如果想分页查询需要使用哪个api呢

Open yangzhenyu01 opened this issue 9 years ago • 1 comments

我想实现分页查询的功能 目前使用 cursor = col:find({JOB_NAME="JOB_NAME"},{},10) 可以返回我想要的数据量,但是不知道使用哪个api来区分页码,请提供一个示例程序,多谢。

yangzhenyu01 avatar Jun 15 '15 13:06 yangzhenyu01

limit numbertoskip There is no realization col:query(query,returnfields,toskip,limit) order by sort There is no realization

zhangzhihai avatar Mar 30 '16 01:03 zhangzhihai