Return the Expression AST as a plain JS object.
Add a CROSS JOIN.
Convert to CREATE TABLE AS SELECT and return the AST. This is a terminal operation that consumes the builder.
Convert to CREATE TABLE AS SELECT and return generated SQL. This is a terminal operation that consumes the builder.
Enable DISTINCT.
Add FOR UPDATE locking.
Free the underlying WASM handle.
Add a query hint (e.g. Oracle hint expressions).
Add a LATERAL VIEW clause (Hive/Spark UDTF expansion).
Set the LIMIT.
Set the OFFSET.
Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'.
Set the SORT BY clause (Hive/Spark — sorts within each partition).
Generate SQL string. Defaults to generic dialect.
Set the WHERE clause. Accepts an Expr or a raw SQL string.
Fluent builder for SELECT queries.
Example