Fluent builder for INSERT INTO statements.
const sql = insertInto('users') .columns('id', 'name') .values(lit(1), lit('Alice')) .toSql(); Copy
const sql = insertInto('users') .columns('id', 'name') .values(lit(1), lit('Alice')) .toSql();
Return the Expression AST as a plain JS object.
Set the target column names.
Free the underlying WASM handle.
Set the source query for INSERT ... SELECT.
Generate SQL string. Defaults to generic dialect.
Append a row of values. Call multiple times for multiple rows.
Fluent builder for INSERT INTO statements.
Example