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
init(rawValue: Int)Creates a new option set from the given raw value.
Instance Properties
var rawValue: IntThe corresponding value of the raw type.
Type Properties
static var except: SQLUnionFeaturesIndicates support forEXCEPT DISTINCTunions.static var exceptAll: SQLUnionFeaturesIndicates support forEXCEPT ALLunions.static var explicitDistinct: SQLUnionFeaturesIndicates that theDISTINCTmodifier must be explicitly specified for the relevant union types.static var intersect: SQLUnionFeaturesIndicates support forINTERSECT DISTINCTunions.static var intersectAll: SQLUnionFeaturesIndicates support forINTERSECT ALLunions.static var parenthesizedSubqueries: SQLUnionFeaturesIndicates that the individualSELECTqueries in a union must be parenthesized.static var union: SQLUnionFeaturesIndicates support forUNION DISTINCTunions.static var unionAll: SQLUnionFeaturesIndicates support forUNION ALLunions.
Relationships
Conforms To
Swift.EquatableSwift.ExpressibleByArrayLiteralSwift.OptionSetSwift.RawRepresentableSwift.SendableSwift.SendableMetatypeSwift.SetAlgebra
See Also
Drivers
protocol SQLDialectAn abstract definition of a specific dialect of SQL.protocol SQLDatabaseReportedVersionProvides a protocol for reporting and comparing database version numbers.struct SQLAlterTableSyntaxEncapsulates a dialect’s support forALTER TABLEsyntax.struct SQLTriggerSyntaxEncapsulates a dialect’s support forCREATE TRIGGERandDROP TRIGGERsyntax.enum SQLEnumSyntaxPossible values for a dialect’s strongly-typed enumeration support.enum SQLUpsertSyntaxThe supported syntax variants which a SQL dialect can use to to specify conflict resolution clauses.