Skip to content

Enumeration

SQLUpsertSyntax

The supported syntax variants which a SQL dialect can use to to specify conflict resolution clauses.
enum SQLUpsertSyntax

Topics

Enumeration Cases

  • SQLUpsertSyntax.mysqlLike
    Indicates support for the nonstandard ON DUPLICATE KEY UPDATE ... syntax, the VALUES() function, and INSERT IGNORE for “ignore conflicts”. This syntax does not support conflict targets or update predicates.
  • SQLUpsertSyntax.standard
    Indicates support for the SQL-standard ON CONFLICT ... syntax, including index and update predicates, the excluded. pseudo-table name, and the DO NOTHING action for “ignore conflicts”.
  • SQLUpsertSyntax.unsupported
    Indicates lack of any support for conflict resolution.

Relationships

Conforms To

  • Swift.CaseIterable
  • Swift.Equatable
  • Swift.Hashable
  • Swift.Sendable
  • Swift.SendableMetatype

See Also

Drivers