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

Method getMultiStat

packages/hydrooj/src/model/record.ts:191–193  ·  view source on GitHub ↗
(domainId: string, query: any, sortBy: any = { _id: -1 })

Source from the content-addressed store, hash-verified

189 }
190
191 static getMultiStat(domainId: string, query: any, sortBy: any = { _id: -1 }) {
192 return RecordModel.collStat.find({ domainId, ...query }).sort(sortBy);
193 }
194
195 static async update(
196 domainId: string, _id: MaybeArray<ObjectId>,

Callers 1

getMethod · 0.80

Calls 1

findMethod · 0.80

Tested by

no test coverage detected