insertSelectStatement

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

Adapted from org.jetbrains.exposed.sql.insert.