Selection<T> class
abstract
A typed result description decoded when its containing query executes.
SQL expressions are scalar selections. Record composition and map combine
decoded values into application results without evaluating Dart code in SQL.
Use this type for reusable result helpers. Named SQL output fields belong to
a flat Projection, rather than to arbitrary Dart result properties.
- Implementers
Constructors
- Selection()
-
Base constructor for typed projections and their Dart result mappings.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
R> (R mapper(T)) → Selection< R> - Maps each decoded value in Dart, preserving the source SQL projection.
-
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