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, duration hours minute second in high quality that is uploaded to the channel Bro Code 22 July 2024. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,031 times and liked it 70 visitors.