map<R> method

Selection<R> map<R>(
  1. R mapper(
    1. T
    )
)

Maps each decoded value in Dart, preserving the source SQL projection.

The mapper runs during decoding, not during query construction. Its result does not become a SQL expression for filtering, grouping, or set operations.

Implementation

Selection<R> map<R>(R Function(T) mapper) => _Mapped(this, mapper);