A SQL expression. Wraps a WASM handle and provides operator methods.
All methods return new Expr instances (original is reusable).
const cond = col('age').gte(lit(18)).and(col('status').neq(lit('banned'))); Copy
const cond = col('age').gte(lit(18)).and(col('status').neq(lit('banned')));
Free the underlying WASM handle.
Return the expression AST as a plain JS object.
Generate SQL string (generic dialect).
A SQL expression. Wraps a WASM handle and provides operator methods.
All methods return new Expr instances (original is reusable).
Example