(table, v)
| 316 | return values.map((value) => ({ _id: value[idField] })); |
| 317 | }, |
| 318 | async deleteMany(table, v) { |
| 319 | await init; |
| 320 | const model = getPrismaModel(table); |
| 321 | const where = v.where ? buildWhere(v.where) : undefined; |
| 322 | |
| 323 | await model.deleteMany({ where }); |
| 324 | }, |
| 325 | async upsert(table, { where, ...v }) { |
| 326 | await init; |
| 327 |
nothing calls this directly
no test coverage detected