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 two values are equal and false otherwise.Behavior
- Performs equality comparison between two values.
- Uses RuloDB’s equality semantics for type coercion and comparison.
- Can be chained with other logical operators for complex conditions.
Notes & Caveats
- Type coercion may occur during comparison depending on the values being compared.
- Use with appropriate data types to ensure expected comparison behavior.
Example
Filter by exact value
Filter for orders where the shipping address country is UAE.Filter by status
Filter for users with active status.Related Functions
ne- Logical Inequality Operationlt- Logical Less Than 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!

