How can I perform query like: db.articles.find().sort({created_at: -1}).limit(5); in MongoKit driver?
Perhaps I'm blind, but I can't find it in manual. I want to retrieve 5 last products ordered by 'created_at'. MongoKit offers to sort result list (it's more then 2000 items) and slice it. It's unaccepable, I want to sort() and limit() on database level, not python :(