Clause

data class Clause(val type: MergeStatement.ClauseCondition, val action: MergeStatement.ClauseAction, val arguments: List<Pair<Column<*>, Any?>>, val and: Op<Boolean>?, val deleteWhere: Op<Boolean>? = null, val overridingSystemValue: Boolean = false, val overridingUserValue: Boolean = false)

Constructors

Link copied to clipboard
constructor(type: MergeStatement.ClauseCondition, action: MergeStatement.ClauseAction, arguments: List<Pair<Column<*>, Any?>>, and: Op<Boolean>?, deleteWhere: Op<Boolean>? = null, overridingSystemValue: Boolean = false, overridingUserValue: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val and: Op<Boolean>?
Link copied to clipboard
Link copied to clipboard
val deleteWhere: Op<Boolean>? = null

deleteWhere is applicable only to Oracle SQL database which has no dedicated "when delete" clause

Link copied to clipboard

Postgres clause modifier to override the system value

Link copied to clipboard

Postgres clause modifier to override the user value

Link copied to clipboard