Bitwise Query Operators
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
Bitwise operators return data based on bit position conditions.
Note
For details on a specific operator, including syntax and examples, click on the link to the operator's reference page.
Name | Description |
---|---|
Matches numeric or binary values in which a set of bit positions all have a value of 0 . | |
Matches numeric or binary values in which a set of bit positions all have a value of 1 . | |
Matches numeric or binary values in which any bit from a set of bit positions has a value of 0 . | |
Matches numeric or binary values in which any bit from a set of bit positions has a value of 1 . |