SyntaxFix
Write A Post
Hire A Developer
Questions
Short solution:
const query = {} const projection = {} const options = { sort: { id: 1 }, limit: 2, skip: 10 } Room.find(query, projection, options).exec(function(err, docs) { ... });