Logical Query Predicate Operators
On this page
Logical operators return data based on boolean logic (and, or, and nor).
Name | Description |
---|---|
Joins query clauses with a logical | |
Joins query clauses with a logical | |
Inverts the effect of a query predicate and returns documents that do not match the query predicate. | |
Joins query clauses with a logical |
Compatibility
You can use comparison operators for deployments hosted in the following environments:
MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
MongoDB Enterprise: The subscription-based, self-managed version of MongoDB
MongoDB Community: The source-available, free-to-use, and self-managed version of MongoDB