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 or equal to the second value and false otherwise.Behavior
- Performs less than or equal 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 low value orders
Filter for orders where the value is less than or equal to 100.Filter by age limit
Filter for users who are 25 or younger.Related Functions
eq- Logical Equality Operationne- Logical Inequality Operationlt- Logical Less Than 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!

