count method

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

Implementation

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