Skip to content

Protocol

SQLDialect

An abstract definition of a specific dialect of SQL.
protocol SQLDialect : Sendable

Overview

SQLKit uses the dialect provided by an instance of SQLDatabase to control various aspects of query serialization, with the intent of keeping SQLKit’s user-facing API from having to expose database-specific details as much as possible. While SQL dialects in the wild vary too widely in practice for this to ever be 100% effective, they also have enough in common to avoid having to rewrite every line of serialization logic for each database driver.

Topics

Basics

Support Flags

Syntax Indicators

Modifier Methods

Relationships

Inherits From

  • Swift.Sendable
  • Swift.SendableMetatype

See Also

Drivers