SqlSelection<T> class abstract interface

One typed column selected from a SQL result.

A selection keeps its physical source column separate from its result codec. This lets a LEFT JOIN decode a non-nullable schema column as an optional result without weakening INSERT and UPDATE types.

Implementers
Available extensions

Properties

hashCode → int
The hash code for this object.
no setterinherited
optional → SqlSelection<T?>

Available on SqlSelection<T>, provided by the SqlSelectionModifiers extension

Decodes SQL NULL as null, typically for the right side of a LEFT JOIN.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

as(String alias) → SqlSelection<T>

Available on SqlSelection<T>, provided by the SqlSelectionModifiers extension

Gives this result column an explicit SQL alias.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(SqlRow row, int index) → T
Decodes this selection from a raw transport row at index.
toString() → String
A string representation of this object.
inherited

Operators

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