Skip to content

Instance Property

name

The name of the dialect.
var name: String { get }

Discussion

Dialect names were intended to just be human-readable strings, but in reality there are several code paths which rely on checking for specific dialect names. As a result, dialect names are implicitly required to be globally unique (though there’s no way to enforce this). SQLKit currenly recommends dialect names match a regular expression of the form /^[a-z][a-z0-9-]*$/ (starts with a lowercase ASCII letter, remainder consists of only lowercase ASCII letters, ASCII digits, and/or dashes).

No default is provided.