count method

Future<int> count(
  1. DatabaseAccessor databaseAccessor, {
  2. WhereExpressionBuilder<QueryLogEntryTable>? where,
  3. int? limit,
  4. Transaction? transaction,
})

Implementation

Future<int> count(
  _i1.DatabaseAccessor databaseAccessor, {
  _i1.WhereExpressionBuilder<QueryLogEntryTable>? where,
  int? limit,
  _i1.Transaction? transaction,
}) async {
  return databaseAccessor.db.count<QueryLogEntry>(
    where: where?.call(QueryLogEntry.t),
    limit: limit,
    transaction: transaction ?? databaseAccessor.transaction,
  );
}