Logical Operators
- reference
Logical terms let you combine other expressions using Boolean logic. N1QL provides the following logical operators:
-
AND
-
OR
-
NOT
In N1QL, logical operators have their usual meaning; however, Boolean propositions can evaluate to NULL or MISSING as well as to TRUE and FALSE. The truth tables for these operators therefore use four-valued logic.
Related Links
For further details, refer to Boolean Logic.