count method
Future<int>
count(
- Session session, {
- WhereExpressionBuilder<
MessageLogEntryTable> ? 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<MessageLogEntryTable>? where,
int? limit,
_i1.Transaction? transaction,
}) async {
return session.db.count<MessageLogEntry>(
where: where?.call(MessageLogEntry.t),
limit: limit,
transaction: transaction,
);
}