doCountSQL method
FutureOr<int>
doCountSQL(
- String entityName,
- String table,
- SQL sql,
- Transaction transaction,
- PostgreSQLConnectionWrapper connection,
override
Implementation
@override
FutureOr<int> doCountSQL(
String entityName,
String table,
SQL sql,
Transaction transaction,
PostgreSQLConnectionWrapper connection,
) {
return connection
.mappedResultsQuery(
sql.sql,
substitutionValues: sql.parametersByPlaceholder,
)
.resolveMapped(countFromResults);
}