count method

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

Implementation

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