MongoDB comparison operators explained

Published: 22 July 2024
on channel: Bro Code
3,031
70

#MongoDB #course #tutorial

db.students.find({name:{$ne:"Spongebob"}})
db.students.find({age:{$lt:20}})
db.students.find({age:{$lte:27}})
db.students.find({age:{$gt:27}})
db.students.find({age:{$gte:27}})
db.students.find({gpa:{$gte:3, $lte:4}})
db.students.find({name:{$in: ["Spongebob", "Patrick", "Sandy"]}})
db.students.find({name:{$nin: ["Spongebob", "Patrick", "Sandy"]}})


Watch video MongoDB comparison operators explained online without registration, duration hours minute second in high quality. This video was added by user Bro Code 22 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,031 once and liked it 70 people.