count static method

Future<int> count(
  1. Session session, {
  2. RuntimeSettingsExpressionBuilder? where,
  3. int? limit,
  4. bool useCache = true,
  5. Transaction? transaction,
})

Implementation

static Future<int> count(
  _i1.Session session, {
  RuntimeSettingsExpressionBuilder? where,
  int? limit,
  bool useCache = true,
  _i1.Transaction? transaction,
}) async {
  return session.db.count<RuntimeSettings>(
    where: where != null ? where(RuntimeSettings.t) : null,
    limit: limit,
    useCache: useCache,
    transaction: transaction,
  );
}