Type Property
alias
static var alias: String? { get }
Default Implementations
Schema Implementations
aliasaliasThe aliased name, which stands in for the actual schema name.ModelAliasstrictly enforces the same constraint most dialects of SQL do for aliasing syntax: That the original schema name may only appear at points where aliasing is declared, and becomes syntactically incorrect usage should it appear in any other part of the query. In effect, the alias becomes the only name by which the model type may be referenced.