Documentation / @super-line/core / Expr
Type Alias: Expr
Expr = {
args:Expr[];op:"and"|"or"; } | {arg:Expr;op:"not"; } | {field:string;op:"eq"|"neq"|"lt"|"lte"|"gt"|"gte";value:Scalar; } | {field:string;op:"in";values:Scalar[]; } | {field:string;op:"like"|"ilike";pattern:string; }
Defined in: packages/core/src/query.ts:21
A boolean predicate over a row. field is a dot path into the row ('author.name'). Combine with and/or/not; build leaves with eq/isIn/like/etc.