let’s say I run this query in Mongoose:
Room.find({}, (err,docs) => {
}).sort({date:-1});
This doesn’t work!
let’s say I run this query in Mongoose:
Room.find({}, (err,docs) => {
}).sort({date:-1});
This doesn’t work!