MergeStatement
The base implementation of SQL merge command that is used by statements like MergeSelectStatement, MergeTableStatement
Inheritors
Properties
Functions
Link copied to clipboard
Returns the string representation of an SQL statement.
Link copied to clipboard
Specifies a delete operation to be executed when a matching record is found in the destination table.
Link copied to clipboard
Postgres only. Specifies that no operation should be performed when a matching record is found in the destination table.
Link copied to clipboard
fun whenMatchedUpdate(and: Op<Boolean>? = null, deleteWhere: Op<Boolean>? = null, body: (UpdateStatement) -> Unit)
Defines an update operation to be executed when a matching record is found in the destination table.
Link copied to clipboard
Postgres only. Specifies that no operation should be performed when no matching record is found in the destination table.
Link copied to clipboard
fun whenNotMatchedInsert( and: Op<Boolean>? = null, overridingUserValue: Boolean = false, overridingSystemValue: Boolean = false, body: (InsertStatement<Int>) -> Unit)
Defines an insert operation to be performed when there is no matching record in the destination table.