MongoDB Query Language (MQL) Bitwise Operators
Bitwise operators perform operations on the binary representation of numbers.
$bitAnd
The $bitAnd operator performs a bitwise AND operation on integer values and returns the result as an integer.
$bitNot
The $bitNot operator performs a bitwise NOT operation on integer values and returns the result as an integer.
$bitOr
The $bitOr operator performs a bitwise OR operation on integer values and returns the result as an integer.
$bitXor
The $bitXor operator performs a bitwise XOR operation on integer values.