Skip to content

Structure

SQLUnionFeatures

A set of feature support flags for UNION queries.
struct SQLUnionFeatures

Overview

Note

The union and unionAll flags are a bit redundant, since every dialect SQLKit supports at the time of this writing supports them. Still, there are SQL dialects in the wild that do not, such as mSQL, so the flags are here for completeness’ sake.

Topics

Initializers

Instance Properties

  • rawValue
    The corresponding value of the raw type.

Type Properties

  • except
    Indicates support for EXCEPT DISTINCT unions.
  • exceptAll
    Indicates support for EXCEPT ALL unions.
  • explicitDistinct
    Indicates that the DISTINCT modifier must be explicitly specified for the relevant union types.
  • intersect
    Indicates support for INTERSECT DISTINCT unions.
  • intersectAll
    Indicates support for INTERSECT ALL unions.
  • parenthesizedSubqueries
    Indicates that the individual SELECT queries in a union must be parenthesized.
  • union
    Indicates support for UNION DISTINCT unions.
  • unionAll
    Indicates support for UNION ALL unions.

Relationships

Conforms To

  • Swift.Equatable
  • Swift.ExpressibleByArrayLiteral
  • Swift.OptionSet
  • Swift.RawRepresentable
  • Swift.Sendable
  • Swift.SendableMetatype
  • Swift.SetAlgebra

See Also

Drivers

  • SQLDialect
    An abstract definition of a specific dialect of SQL.
  • SQLDatabaseReportedVersion
    Provides a protocol for reporting and comparing database version numbers.
  • SQLAlterTableSyntax
    Encapsulates a dialect’s support for ALTER TABLE syntax.
  • SQLTriggerSyntax
    Encapsulates a dialect’s support for CREATE TRIGGER and DROP TRIGGER syntax.
  • SQLEnumSyntax
    Possible values for a dialect’s strongly-typed enumeration support.
  • SQLUpsertSyntax
    The supported syntax variants which a SQL dialect can use to to specify conflict resolution clauses.