Database Manual / Reference / Query Language / Query Predicates

Bitwise Query Predicate Operators按位查询谓词运算符

Bitwise operators return data based on bit position conditions.位运算符根据位位置条件返回数据。

Name名称Description描述
$bitsAllClearMatches numeric or binary values in which a set of bit positions all have a value of 0.匹配一组位位置都为0的数值或二进制值。
$bitsAllSetMatches numeric or binary values in which a set of bit positions all have a value of 1.匹配数值或二进制值,其中一组位位置的值都为1
$bitsAnyClearMatches numeric or binary values in which any bit from a set of bit positions has a value of 0.匹配数值或二进制值,其中一组位位置中的任一位的值为0
$bitsAnySetMatches numeric or binary values in which any bit from a set of bit positions has a value of 1.匹配数值或二进制值,其中一组位位置中的任一位的值为1