insertSelectStatement

fun <T : Table> T.insertSelectStatement(selectQuery: AbstractQuery<*>, columns: List<Column<*>> = defaultColumnsForInsertSelect(), isIgnore: Boolean = false): InsertSelectStatement(source)

Deprecated

Use the new `buildStatement` API in Exposed.

Replace with

import org.jetbrains.exposed.v1.core.statements.buildStatement
buildStatement { if (isIgnore) insertIgnore(selectQuery, columns) else insert(selectQuery, columns) }

Adapted from org.jetbrains.exposed.v1.jdbc.insert.