doSelectAll<R> method
FutureOr<List<R> >
doSelectAll<R>(
- TransactionOperation op,
- String entityName,
- String table, {
- PreFinishDBOperation<
Iterable< ? preFinish,Map< , List<String, dynamic> >R> >
override
Implementation
@override
FutureOr<List<R>> doSelectAll<R>(
TransactionOperation op, String entityName, String table,
{PreFinishDBOperation<Iterable<Map<String, dynamic>>, List<R>>?
preFinish}) {
return generateSelectSQL(op.transaction, entityName, table, ConditionANY())
.resolveMapped((sql) {
return selectSQL(op, entityName, table, sql)
.resolveMapped((r) => _finishSQLOperation(sql, op, r, preFinish));
});
}