MCPcopy Create free account
hub / github.com/hydro-dev/Hydro / count

Method count

packages/hydrooj/src/model/problem.ts:278–280  ·  view source on GitHub ↗
(domainId: string, query: Filter<ProblemDoc>)

Source from the content-addressed store, hash-verified

276 }
277
278 static count(domainId: string, query: Filter<ProblemDoc>) {
279 return document.count(domainId, document.TYPE_PROBLEM, query);
280 }
281
282 static async del(domainId: string, docId: number) {
283 await bus.parallel('problem/before-del', domainId, docId);

Callers 1

randomMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected