doCount method
FutureOr<int>
doCount(
- TransactionOperation op,
- String entityName,
- String table, {
- EntityMatcher? matcher,
- Object? parameters,
- List? positionalParameters,
- Map<
String, Object?> ? namedParameters, - PreFinishDBOperation<
int, int> ? preFinish,
override
Implementation
@override
FutureOr<int> doCount(
TransactionOperation op, String entityName, String table,
{EntityMatcher? matcher,
Object? parameters,
List? positionalParameters,
Map<String, Object?>? namedParameters,
PreFinishDBOperation<int, int>? preFinish}) {
return executeTransactionOperation(
op,
(conn) => _doCountImpl(op, table, matcher, parameters)
.resolveMapped((res) => _finishOperation(op, res, preFinish)));
}