Skip to main content
Version: 3.11.0

Boolean operators

NebulaGraph supports the following boolean operators.

NameDescription
ANDLogical AND
NOTLogical NOT
ORLogical OR
XORLogical XOR

For the precedence of the operators, refer to Operator Precedence.

For the logical operations with NULL, refer to NULL.

Legacy version compatibility

  • Non-zero numbers cannot be converted to boolean values.