Docs Menu
Docs Home
/
MongoDB Manual
/ / /

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
$bitsAllClear
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.

Back

$size