count static method
- @Deprecated('Will be removed in 2.0.0. Use: db.count instead.')
- Session session, {
- WhereExpressionBuilder<
QueryLogEntryTable> ? where, - int? limit,
- bool useCache = true,
- Transaction? transaction,
Implementation
@Deprecated('Will be removed in 2.0.0. Use: db.count instead.')
static Future<int> count(
_i1.Session session, {
_i1.WhereExpressionBuilder<QueryLogEntryTable>? where,
int? limit,
bool useCache = true,
_i1.Transaction? transaction,
}) async {
return session.db.count<QueryLogEntry>(
where: where != null ? where(QueryLogEntry.t) : null,
limit: limit,
useCache: useCache,
transaction: transaction,
);
}