InsertOrUpdateOnConflictClauseBuilder

DSL builder for insert or update on conflict clause.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun doNothing()

Explicitly tells ktorm to ignore any on-conflict errors and continue insertion.

Link copied to clipboard
fun <T : Any> excluded(column: Column<T>): ColumnExpression<T>

Reference the 'EXCLUDED' table in a ON CONFLICT clause.

Link copied to clipboard
fun <C : Any> set(column: Column<C>, value: C?)
fun <C : Any> set(column: Column<C>, expr: ColumnDeclaring<C>)
Link copied to clipboard
fun where(block: () -> ColumnDeclaring<Boolean>)

Specify the where condition for the update clause.