or
Call Signature
Section titled “Call Signature”or<
E>(expressions):Expression<RefsOf<E[number]>>
Defined in: src/query/expression.ts:527
At least one of these must hold.
A single expression is returned unwrapped.
Type Parameters
Section titled “Type Parameters”E extends readonly Expression<AttributeRef>[]
Parameters
Section titled “Parameters”expressions
Section titled “expressions”E
The expressions, as separate arguments or one array.
Returns
Section titled “Returns”Expression<RefsOf<E[number]>>
Throws
Section titled “Throws”If given nothing to combine.
Example
Section titled “Example”or(eq("status", "open"), exists("reviewedBy"))Call Signature
Section titled “Call Signature”or<
E>(…expressions):Expression<RefsOf<E[number]>>
Defined in: src/query/expression.ts:530
At least one of these must hold.
A single expression is returned unwrapped.
Type Parameters
Section titled “Type Parameters”E extends readonly Expression<AttributeRef>[]
Parameters
Section titled “Parameters”expressions
Section titled “expressions”…E
The expressions, as separate arguments or one array.
Returns
Section titled “Returns”Expression<RefsOf<E[number]>>
Throws
Section titled “Throws”If given nothing to combine.
Example
Section titled “Example”or(eq("status", "open"), exists("reviewedBy"))