# 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

Clause
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

action
Link copied to clipboard
val action: MergeStatement.ClauseAction
and
Link copied to clipboard
val and: Op<Boolean>?
arguments
Link copied to clipboard
val arguments: List<Pair<Column<*>, Any?>>
deleteWhere
Link copied to clipboard
val deleteWhere: Op<Boolean>?

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

overridingSystemValue
Link copied to clipboard
val overridingSystemValue: Boolean

Postgres clause modifier to override the system value

overridingUserValue
Link copied to clipboard
val overridingUserValue: Boolean

Postgres clause modifier to override the user value

type
Link copied to clipboard
val type: MergeStatement.ClauseCondition