mongodb内嵌数组倒序和分页查询实现 目标是对一个document下的某个数组进行倒序分页查询,数据如 { "_id": 1, "items": [1, 2, 3, 4] } mongo shell: db.xx.