Skip to content

Boolean operators

NebulaGraph supports the following boolean operators.

Name Description
AND Logical AND
NOT Logical NOT
OR Logical OR
XOR Logical 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.

Last update: October 24, 2023