SyntaxFix
Write A Post
Hire A Developer
Questions
models.Post.find({published: true}, {sort: {'date': -1}, limit: 20}, function(err, posts) { // `posts` with sorted length of 20 });