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 1.0, non-zero numbers are evaluated to true like c-language.
- In Nebula Graph 2.0, non-zero numbers can't be converted to boolean values.
Last update: March 25, 2021