MongoDB logical operators explained

Опубликовано: 19 Март 2025
на канале: Bro Code
3,127
73

#MongoDB #course #tutorial

db.students.find({$and: [{fullTime:true}, {age:{$lte:22}}]})
db.students.find({$or: [{fullTime:true}, {age:{$lte:22}}]})
db.students.find({$nor: [{fullTime:true}, {age:{$lte:22}}]})
db.students.find({age:{$not:{$gte:30}}})