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

Method get

packages/hydrooj/src/model/task.ts:117–119  ·  view source on GitHub ↗
(_id: ObjectId)

Source from the content-addressed store, hash-verified

115 }
116
117 static get(_id: ObjectId) {
118 return coll.findOne({ _id });
119 }
120
121 static count(query: Filter<Task>) {
122 return coll.countDocuments(query);

Callers 15

getFunction · 0.45
applyFunction · 0.45
getFunction · 0.45
delFunction · 0.45
getReplyFunction · 0.45
reactFunction · 0.45
getNodeFunction · 0.45
getVnodeFunction · 0.45
loadMethod · 0.45
privateMethod · 0.45
getByIdMethod · 0.45
getByUnameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected