Skip to content

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").