SqlProjection<R> class
final
Ordered selected columns and a selection-addressed decoder.
Constructors
-
SqlProjection({required Iterable<
SqlSelection< columns, required R decode(SqlProjectionRow row)})Object?> > -
Creates a projection whose
columnsdefine the SQL result order.factory -
SqlProjection.column(SqlSelection<
R> column) -
Creates a scalar projection for one
column.factory
Properties
-
columns
→ List<
SqlSelection< Object?> > -
Selected columns in result order.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
SqlRow row) → R -
Converts one raw transport
rowinto an application value. -
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