Docs Home → MongoDB Manual
Bitwise Query Operators按位查询运算符
Note 注意
For details on specific operator, including syntax and examples, click on the specific operator to go to its reference page.有关特定运算符的详细信息,包括语法和示例,请单击特定运算符转到其参考页面。
Name名称 Description描述
$bitsAllClear
Matches numeric or binary values in which a set of bit positions all have a value of 0
.匹配一组位位置的值都为0
的数值或二进制值。
$bitsAllSet
Matches numeric or binary values in which a set of bit positions all have a value of 1
.匹配一组位位置的值均为1
的数值或二进制值。
$bitsAnyClear
Matches numeric or binary values in which any bit from a set of bit positions has a value of 0
.匹配一组位位置中任何位的值为0
的数值或二进制值。
$bitsAnySet
Matches numeric or binary values in which any bit from a set of bit positions has a value of 1
.匹配一组位位置中任何位的值为1的数值或二进制值。