Comparison Operators (original) (raw)

What is the main purpose of comparison operators in MongoDB?

Which operator is used for equality comparison?

Which operator is used to find values greater than a specified value?

Which operator is used to find values less than a specified value?

What does the $cmp operator do?

What will $cmp return if the first value is greater than the second?

What will $cmp return if the first value is smaller than the second?

Which operator would you use to match documents where age = 25?

Which operator is best for filtering numeric ranges?

Where are comparison operators mainly used?

There are 15 questions to complete.

Take a part in the ongoing discussion