insertStatement

fun <T : Table> T.insertStatement(body: T.(InsertStatement<Number>) -> Unit): InsertStatement<Number>(source)

Deprecated

Use the new `buildStatement` API in Exposed.

Replace with

import org.jetbrains.exposed.v1.core.statements.buildStatement
buildStatement { insert(body) }

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