count method

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

Implementation

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