How to get the last N records from find? Technology Community › Category: MongoDB › How to get the last N records from find? 0 Vote Up Vote Down VietMX Staff asked 4 years ago Use sort and limit in chain: db.foo.find().sort({_id:1}).limit(50);