customSelectMapped<T> method
A variant of customSelect that uses createMapper to obtain a select
statement for which rows can be mapped to a custom Dart type.
Implementation
Selectable<T> customSelectMapped<T>({
required String query,
required T Function(RawRow) Function(RawResultSet) createMapper,
List<Variable> variables = const [],
Set<SchemaEntityWithResultSet> readsFrom = const {},
bool isReadOnly = true,
}) {
return CustomSelectStatement(
query,
Variable.resolveValues(dialect, variables),
readsFrom,
createMapper,
this,
isReadOnly,
);
}