Syntax
Arguments
List of arguments to provide.The value to compare with. The type of the value being compared depends on the value used for
comparison.
Optargs
No optional arguments.Returns
Returns
true if the first value is greater than the second value and false otherwise.Behavior
- Performs greater than comparison between two values.
- Uses RuloDB’s comparison semantics for ordering and type handling.
- Can be chained with other logical operators for complex conditions.
Notes & Caveats
- Comparison behavior depends on the data types being compared.
- String comparisons use lexicographic ordering.
Example
Filter high value orders
Filter for orders where the value is above 1,000,000.Filter by score
Filter for posts with high engagement scores.Related Functions
eq- Logical Equality Operationne- Logical Inequality Operationlt- Logical Less Than Operationle- Logical Less Than or Equal Operationge- Logical Greater Than or Equal Operationand- Logical AND Operationor- Logical OR Operationnot- Logical NOT Operationfield- Referencing a Fieldfilter- Filtering Documents
Found a typo? Or maybe a broken link? RuloDB is open-source, help us fix it!

