api-docs / org.ktorm.support.sqlite / InsertOrUpdateOnConflictClauseBuilder
InsertOrUpdateOnConflictClauseBuilder
class InsertOrUpdateOnConflictClauseBuilder :
SQLiteAssignmentsBuilder
(source code)DSL builder for insert or update on conflict clause.
Constructors
Name | Summary |
---|---|
InsertOrUpdateOnConflictClauseBuilder() DSL builder for insert or update on conflict clause. |
Functions
Name | Summary |
---|---|
fun doNothing(): Unit Explicitly tells ktorm to ignore any on-conflict errors and continue insertion. | |
fun <T : Any> excluded( Reference the ‘EXCLUDED’ table in a ON CONFLICT clause. | |
fun where(block: () -> ColumnDeclaring<Boolean>): Unit Specify the where condition for the update clause. |
Extension Functions
Name | Summary |
---|---|
infix fun <T : Any> T.eq( Equal operator, translated to | |
infix fun <T : Any> T.neq( Not-equal operator, translated to | |
infix fun <T : Any> T.notEq( Not-equal operator, translated to |