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

Method del

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

Source from the content-addressed store, hash-verified

123 }
124
125 static del(_id: ObjectId) {
126 return coll.deleteOne({ _id });
127 }
128
129 static deleteMany(query: Filter<Task>) {
130 return coll.deleteMany(query);

Callers 15

upgrade.tsFile · 0.45
postDeleteMethod · 0.45
postDeleteMethod · 0.45
postDeleteFilesMethod · 0.45
postDeleteMethod · 0.45
postDeleteMethod · 0.45
postDeleteMethod · 0.45
postDeleteSolutionMethod · 0.45
postMethod · 0.45
postMethod · 0.45
postMethod · 0.45
postMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected