IS_KEY_BEFORE()
All functions > CORE > IS_KEY_BEFORE()
True when the first identity key is strictly before the second
Signatures
Returns: Native ordering of the base type; equal keys are FALSE
IS_KEY_BEFORE(a: T#E, b: T#F) → BOOLEAN sql
| Parameter | Type | Required | Description |
|---|---|---|---|
a | T#E | Yes | Left identity key |
b | T#F | Yes | Right identity key of the same family and base type |
Signature notes: Both arguments must be keys of one entity family. Plain values use <. DATE, TIMESTAMP, and geography keys already accept <.
See also
KEY_TO_SCALAR
KEY_PAIR
On this page