Insert Select Statement
open class InsertSelectStatement(val columns: List<Column<*>>, val selectQuery: AbstractQuery<*>, val isIgnore: Boolean = false) : Statement<Int>
Represents the SQL statement that uses data retrieved from a selectQuery to insert new rows into a table.
Parameters
columns
Columns to insert the values into.
select Query
Source SELECT query that provides the values to insert.
is Ignore
Whether to ignore errors or not. Note isIgnore is not supported by all vendors. Please check the documentation.