Skip to content

Boolean operators

Nebula Graph 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

  • In Nebula Graph 2.0, non-zero numbers cannot be converted to boolean values.

Last update: July 19, 2021
Back to top