In Mongoose, a sort can be done in any of the following ways: Post.find({}).sort('test').exec(function(err, docs) { .
確定! 回上一頁