count method

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

Implementation

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