English | 简体中文

api-docs / org.ktorm.support.mysql / InsertOrUpdateStatementBuilder

InsertOrUpdateStatementBuilder

class InsertOrUpdateStatementBuilder : 
    MySqlAssignmentsBuilder
(source code)

DSL builder for insert or update statements.

Constructors

NameSummary

<init>

InsertOrUpdateStatementBuilder()

DSL builder for insert or update statements.

Functions

NameSummary

onDuplicateKey

fun onDuplicateKey(
    block: AssignmentsBuilder.() -> Unit
): Unit

Specify the update assignments while any key conflict exists.