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 less than the second value and false otherwise.Behavior
- Performs less 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 users that are younger than 21
Filter for users where the age is under 21.Filter low value orders
Filter for orders where the value is less than 100.Related Functions
eq- Logical Equality Operationne- Logical Inequality Operationle- Logical Less Than or Equal Operationgt- Logical Greater Than 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!

