count method

Future<int> count(
  1. DatabaseAccessor databaseAccessor, {
  2. WhereExpressionBuilder<MethodInfoTable>? where,
  3. int? limit,
  4. Transaction? transaction,
})

Implementation

Future<int> count(
  _i1.DatabaseAccessor databaseAccessor, {
  _i1.WhereExpressionBuilder<MethodInfoTable>? where,
  int? limit,
  _i1.Transaction? transaction,
}) async {
  return databaseAccessor.db.count<MethodInfo>(
    where: where?.call(MethodInfo.t),
    limit: limit,
    transaction: transaction ?? databaseAccessor.transaction,
  );
}