Instance Property
literalDefault
An expression (usually an
SQLRaw) giving the syntax used to express both “use this as the default value” in a column definition and “use the default value for this column” in a value list.var literalDefault: any SQLExpression { get }
Discussion
SQLLiteral.default always serializes to this expression.
Defaults to SQLRaw("DEFAULT").
Default Implementations
SQLDialect Implementations
literalDefaultDefault implementation ofliteralDefault.
See Also
Basics
nameThe name of the dialect.identifierQuoteAn expression (usually anSQLRaw) giving the character(s) used to quote SQL identifiers, such as table and column names.literalStringQuoteAn expression (usually anSQLRaw) giving the character(s) used to quote literal string values which appear in a query, such as enumerator names.bindPlaceholder(at:)A function which returns an expression to be used as the placeholder for thepositionth bound parameter in a query.literalBoolean(_:)A function which returns an SQL expression (usually anSQLRaw) representing the given literal boolean value.