Logical Operators (original) (raw)
What is the purpose of logical operators in MongoDB?
- Combine or negate conditions
Which operator performs a logical AND operation?
Which operator performs a logical OR operation?
Which operator negates a condition?
Which operator returns documents that do NOT match any condition?
What does $and operator require?
- At least one condition true
What does $or operator require?
- At least one condition true
- Only one condition allowed
Which operator is equivalent to NOT OR?
Which query finds documents where age is NOT greater than 30?
Which operator can combine multiple conditions into an array?
There are 15 questions to complete.
Take a part in the ongoing discussion