batch Insert
open fun <T : Table, E> T.batchInsert(ignoreErrors: Boolean = false, shouldReturnGeneratedValues: Boolean = true, body: BatchInsertStatement.(E) -> Unit): BatchInsertStatement
Represents the SQL statement that batch inserts new rows into a table.
Return
A BatchInsertStatement that can be executed.
Parameters
ignore Errors
Whether to ignore errors or not. Note ignoreErrors is not supported by all vendors. Please check the documentation.
should Return Generated Values
Specifies whether newly generated values (for example, auto-incremented IDs) should be returned.