赞
踩
在 MongoDB 中,可以使用 skip() 和 limit() 方法来实现分页。
skip()
limit()
示例代码:
db.collection.find().skip(10).limit(5)