假设我在Mongoose中运行此查询:
Room.find({}, function(err,docs){ }).sort({date:-1});
这不起作用!
mongoose mongodb node.js
mongodb ×1
mongoose ×1
node.js ×1