lte(a: storable, b: storable) -> bool

Returns true when the first argument is less than or equal to the second, using the same coercion and comparability rules as the other ordering comparisons on storable types. If either operand is null, the returned boolean is null.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

filter lte(priority, 3)

Passes through rows whose integer priority is less than or equal to three.