Class
SQLConflictUpdateBuilder
A builder for specifying column updates and an optional predicate to be applied to rows that caused unique key conflicts during an
INSERT.final class SQLConflictUpdateBuilder
Topics
Initializers
init()Create a conflict update builder.
Instance Properties
Instance Methods
set(excludedContentOf:prefix:keyEncodingStrategy:nilEncodingStrategy:userInfo:)Encodes the givenEncodablevalue to a sequence of key-value pairs and adds an assignment for each pair which uses the values each column was given in the originalINSERTquery’sVALUESlist.set(excludedContentOf:with:)Encodes the givenEncodablevalue to a sequence of key-value pairs and adds an assignment for each pair which uses the values each column was given in the originalINSERTquery’sVALUESlist. SeeSQLExcludedColumnandSQLQueryEncoder.set(excludedValueOf:)Add an assignment of the given column, using the value the column was given in theINSERTquery’sVALUESlist.
Relationships
Conforms To
See Also
Query Builders
SQLAlterEnumBuilderBuildsSQLAlterEnumqueries.SQLAlterTableBuilderBuildsSQLAlterTablequeries.SQLCreateEnumBuilderBuildsSQLCreateEnumqueries.SQLCreateIndexBuilderBuildsSQLCreateIndexqueries.SQLCreateTableBuilderBuildsSQLCreateTablequeries.SQLCreateTriggerBuilderBuildsSQLCreateTriggerqueries.SQLDeleteBuilderBuildsSQLDeletequeries.SQLDropEnumBuilderBuildsSQLDropEnumqueries.SQLDropIndexBuilderBuildsSQLDropIndexqueries.SQLDropTableBuilderBuildsSQLDropTablequeries.SQLDropTriggerBuilderBuildsSQLDropTriggerqueries.SQLInsertBuilderBuildsSQLInsertqueries.SQLPredicateGroupBuilderNestedSQLPredicateBuilderfor building expression groups.SQLRawBuilderBuilds raw SQL queries.SQLReturningResultBuilderA builder returned from the methods ofSQLReturningBuilder; this builder wraps the original builder with one which providesSQLQueryFetcherconformance. As such, thereturning(_:)methods must always be the last ones in any call chain.