replaceStatement

fun <T : Table> T.replaceStatement(body: T.(UpdateBuilder<*>) -> Unit): ReplaceStatement<Long>(source)

Adapted from org.jetbrains.exposed.sql.replace.