count method
Future<int>
count(
- Session session, {
- WhereExpressionBuilder<
LogEntryTable> ? where, - int? limit,
- Transaction? transaction,
Counts the number of rows matching the where
expression. If omitted,
will return the count of all rows in the table.
Implementation
Future<int> count(
_i1.Session session, {
_i1.WhereExpressionBuilder<LogEntryTable>? where,
int? limit,
_i1.Transaction? transaction,
}) async {
return session.db.count<LogEntry>(
where: where?.call(LogEntry.t),
limit: limit,
transaction: transaction,
);
}