count static method

  1. @Deprecated('Will be removed in 2.0.0. Use: db.count instead.')
Future<int> count(
  1. Session session, {
  2. WhereExpressionBuilder<EmailCreateAccountRequestTable>? where,
  3. int? limit,
  4. bool useCache = true,
  5. Transaction? transaction,
})

Implementation

@Deprecated('Will be removed in 2.0.0. Use: db.count instead.')
static Future<int> count(
  _i1.Session session, {
  _i1.WhereExpressionBuilder<EmailCreateAccountRequestTable>? where,
  int? limit,
  bool useCache = true,
  _i1.Transaction? transaction,
}) async {
  return session.db.count<EmailCreateAccountRequest>(
    where: where != null ? where(EmailCreateAccountRequest.t) : null,
    limit: limit,
    useCache: useCache,
    transaction: transaction,
  );
}