Skip to content

Instance Method

onConflict(with:do:)

Specify that constraint violations for the key over the given column should cause the conflicting row(s) to be updated as specified instead. See SQLConflictUpdateBuilder.
@discardableResult func onConflict(with targetColumn: String, do updatePredicate: (SQLConflictUpdateBuilder) throws -> SQLConflictUpdateBuilder) rethrows -> Self