doSelect<R> method
FutureOr<R>
doSelect<R>(
- TransactionOperation op,
- String entityName,
- String table,
- EntityMatcher matcher, {
- Object? parameters,
- List? positionalParameters,
- Map<
String, Object?> ? namedParameters, - int? limit,
- PreFinishDBOperation<
Iterable< ? preFinish,Map< , R>String, dynamic> >
override
Implementation
@override
FutureOr<R> doSelect<R>(TransactionOperation op, String entityName,
String table, EntityMatcher matcher,
{Object? parameters,
List? positionalParameters,
Map<String, Object?>? namedParameters,
int? limit,
PreFinishDBOperation<Iterable<Map<String, dynamic>>, R>? preFinish}) {
return generateSelectSQL(op.transaction, entityName, table, matcher,
parameters: parameters,
positionalParameters: positionalParameters,
namedParameters: namedParameters,
limit: limit)
.resolveMapped((sql) {
return selectSQL(op, entityName, table, sql)
.resolveMapped((r) => _finishSQLOperation(sql, op, r, preFinish));
});
}