MssqlProjectionColumn class

One output column of a MssqlProjection.

The alias is the result-set name. Two columns with the same alias are a construction error: SQL Server would still return both, and mapping by name would silently pick one.

Annotations
  • @immutable

Constructors

MssqlProjectionColumn(String alias, MssqlExpression expression, {bool required = false})

Properties

alias String
Result-set name, unquoted.
final
expression MssqlExpression
final
hashCode int
The hash code for this object.
no setterinherited
required bool
When true, a SQL NULL is a conversion error naming this projection.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected MssqlExpression
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited