count method

Future<int> count(
  1. Session session, {
  2. WhereExpressionBuilder<AuthKeyTable>? where,
  3. int? limit,
  4. Transaction? transaction,
})

Implementation

Future<int> count(
  _i1.Session session, {
  _i1.WhereExpressionBuilder<AuthKeyTable>? where,
  int? limit,
  _i1.Transaction? transaction,
}) async {
  return session.db.count<AuthKey>(
    where: where?.call(AuthKey.t),
    limit: limit,
    transaction: transaction ?? session.transaction,
  );
}