Expression
Expression =
ComparisonNode|StartsWithNode|ExistsNode|TypeOfNode|NotNode|AndNode|OrNode
Defined in: src/query/expression.ts:71
A query expression: an immutable tree built by the combinators below, whose toString() is the
exact query string sent over the wire.
Example
Section titled “Example”const q = and(gte("level", i32(10)), or(eq("status", str("open")), not(exists("closedAt"))))String(q) // level >= i32(10) AND (status = str('open') OR NOT EXISTS(closedAt))