SelectQuery<R, F extends Fields> extension

Chooses decoded results while retaining a concrete selection's SQL evidence.

Import package:orm/sql.dart where select is called. Returning a plain Selection keeps its result type; returning a Projection additionally retains its named SQL output fields for CTE and UNION composition. Selection callbacks describe a query immediately and do not execute it.

on

Methods

select<S extends Selection<T>, T>(S selection(F)) → SelectedQuery<T, F, S>

Available on Query<R, F>, provided by the SelectQuery extension

Chooses selected SQL cells and the application result decoded from them.