insert
open fun insert(ignore: Boolean, table: Table, columns: List<Column<*>>, expr: String, transaction: Transaction): String
Returns the SQL command that inserts a new row into a table.
Note: The ignore
parameter is not supported by all vendors, please check the documentation.
Parameters
ignore
Whether to ignore errors or not.
table
Table to insert the new row into.
columns
Columns to insert the values into.
expr
Expression with the values to insert.
transaction
Transaction where the operation is executed.