XOR

Returns whether there is an odd number of logically true values in the provided arguments.

Usage examples 

XOR(1 + 1 == 2, tableA.fieldB == tableA.fieldC)

Syntax 

XOR ( exp1, [ exp2, ... ] )

  • exp1 - Any expression.

  • exp2 - Any expression.

Returns 

boolean - The boolean value whether there is an odd number of logically true values.

Functions reference