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
var literalDefault: any SQLExpressionDefault implementation ofliteralDefault.
See Also
Basics
var name: StringThe name of the dialect.var identifierQuote: any SQLExpressionAn expression (usually anSQLRaw) giving the character(s) used to quote SQL identifiers, such as table and column names.var literalStringQuote: any SQLExpressionAn expression (usually anSQLRaw) giving the character(s) used to quote literal string values which appear in a query, such as enumerator names.func bindPlaceholder(at: Int) -> any SQLExpressionA function which returns an expression to be used as the placeholder for thepositionth bound parameter in a query.func literalBoolean(Bool) -> any SQLExpressionA function which returns an SQL expression (usually anSQLRaw) representing the given literal boolean value.