or
or(
predicates):Predicate
Defined in: src/query/predicate.ts:26
Creates an OR predicate
Parameters
Section titled “Parameters”predicates
Section titled “predicates”The predicates to combine
Returns
Section titled “Returns”The OR predicate
Example
Section titled “Example”const predicates = [eq("name", "John"), eq("age", 30)]const result = or(predicates)// result = { type: "or", predicates: [eq("name", "John"), eq("age", 30)] }