Operators
Operators are methods on the dialect's Expression. There are a number of common operators shared by all supported dialects:
IsNull(): X IS NULLIsNotNull(): X IS NOT NULLIsDistinctFrom(y any): X IS DISTINCT FROM YIsNotDistinctFrom(y any): X IS NOT DISTINCT FROM YMinus(y any): X - YOP(op string, y any): X op Y -- for custom operatorsEQ(y any): X = YNE(y any): X \<> YLT(y any): X \< YLTE(y any): X \<= YGT(y any): X > YGTE(y any): X >= YIn(...any): X IN (y, z)NotIn(...any): X NOT IN (y, z)Or(y any): X OR YAnd(y any): X AND YConcat(y any): X || YBetween(y, z any): X BETWEEN Y AND ZNotBetween(y, z any): X NOT BETWEEN Y AND Z
The following expressions cannot be chained and are expected to be used at the end of a chain
As(alias string): X as "alias". Used for aliasing column names
See dialect documentation for extra operators