(domainId: string, _id: number, key: ArrayKeys<ProblemDoc>, value: ProblemDoc[T][0])
| 264 | } |
| 265 | |
| 266 | static push<T extends ArrayKeys<ProblemDoc>>(domainId: string, _id: number, key: ArrayKeys<ProblemDoc>, value: ProblemDoc[T][0]) { |
| 267 | return document.push(domainId, document.TYPE_PROBLEM, _id, key, value); |
| 268 | } |
| 269 | |
| 270 | static pull<T extends ArrayKeys<ProblemDoc>>(domainId: string, pid: number, key: ArrayKeys<ProblemDoc>, values: ProblemDoc[T][0][]) { |
| 271 | return document.deleteSub(domainId, document.TYPE_PROBLEM, pid, key, values); |
no outgoing calls
no test coverage detected