在通过Rodolphe提供的信息仔细研究了Mongoose API之后,我想出了以下解决方案:
MyModel.find(query, fields, { skip: 10, limit: 5 }, function(err, results) { ... });
在通过Rodolphe提供的信息仔细研究了Mongoose API之后,我想出了以下解决方案:
MyModel.find(query, fields, { skip: 10, limit: 5 }, function(err, results) { ... });