ANNOUNCEMENT: Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.
Learn more
Docs Menu

Bitwise Query Operators

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.