count method

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

Implementation

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