MongoDB sorting and limiting explained

Published: 22 July 2024
on channel: Bro Code
7,456
150

#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)


On this page of the site you can watch the video online MongoDB sorting and limiting explained with a duration of hours minute second in good quality, which was uploaded by the user Bro Code 22 July 2024, share the link with friends and acquaintances, this video has already been watched 7,456 times on youtube and it was liked by 150 viewers. Enjoy your viewing!