GREATEREQ - Comparison
Checks if lhs
is greater or equal than rhs
.
Details
This function can also be written as infix notation <lhs> >= <rhs>
.
Input parameters
Name | Type | Optional | Description |
---|---|---|---|
lhs |
String/Number | False | |
rhs |
String/Number | False |
Output
Bool: True if lhs
>= rhs
Usage
GREATEREQ(<lhs>, <rhs>)
Examples
Example 1
Query
LOAD tmp
AS ('': GREATEREQ(5, 2))
Result
true
Example 2
Query
LOAD tmp
AS ('': GREATEREQ(5, 5))
Result
true
Example 3
Query
LOAD tmp
AS ('': GREATEREQ("A", "B"))
Result
false