Filter documents in a sequence based on a predicate function.
true
will be included in the result.filter
function evaluates the predicate for each document in the sequence.true
are included in the result.field
to access specific fields within the document.and
, or
, and not
.users
table where the user’s age
is greater than or equal to 21
.
country
is UAE
.
shipped
and the value is greater than 100
.
eq
- Logical Equality Operationne
- 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 Fieldtable
- Referencing a Table