when Not Matched Insert
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.
Parameters
overriding User Value
Postgres only. Indicates whether to use the OVERRIDING USER VALUE clause for the insert.
overriding System Value
Postgres only. Indicates whether to use the OVERRIDING SYSTEM VALUE clause for the insert.
and
An additional optional condition Op
body
A lambda to configure the InsertStatement in which the required columns and corresponding values are specified for the insert operation.