07:31MongoDB sorting and limiting explained
From the creator
#MongoDB #course #tutorial db.students.find() db.students.find().sort({name: 1}) db.students.find().sort({name: -1}) db.students.find().sort({gpa: 1}) db.students.find().sort({gpa: -1}) db.students.find().limit(1) db.students.find().limit(3) db.students.find().sort({gpa: -1}).limit(1) db.students.find().sort({gpa: -1}).limit(3)
Published 2024-07-22 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





