English | 简体中文

api-docs / org.ktorm.support.postgresql / BulkInsertOrUpdateStatementBuilder

BulkInsertOrUpdateStatementBuilder

class BulkInsertOrUpdateStatementBuilder<T : BaseTable<*>> : 
    BulkInsertStatementBuilder<T>
(source code)

DSL builder for bulk insert or update statements.

Constructors

NameSummary

<init>

BulkInsertOrUpdateStatementBuilder(table: T)

DSL builder for bulk insert or update statements.

Functions

NameSummary

onConflict

fun onConflict(
    vararg columns: Column<*>,
    block: InsertOrUpdateOnConflictClauseBuilder.() -> Unit
): Unit

Specify the update assignments while any key conflict exists.

Inherited Functions

NameSummary

item

fun item(block: AssignmentsBuilder.() -> Unit): Unit

Add the assignments of a new row to the bulk insert.