This topic describes the logical operators supported by PolarDB-X.

PolarDB-X supports the following logical operators.

Operator Description
AND, && The logical AND operator.
NOT, ! The logical NOT operator.
||, OR The logical OR operator.
XOR The logical XOR operator.