MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / updateMany

Function updateMany

packages/core/fumadb/src/adapters/prisma/query.ts:277–283  ·  view source on GitHub ↗
(table, v)

Source from the content-addressed store, hash-verified

275 );
276 },
277 async updateMany(table, v) {
278 await init;
279 const model = getPrismaModel(table);
280 const where = v.where ? buildWhere(v.where) : undefined;
281
282 await model.updateMany({ where, data: v.set });
283 },
284 async create(table, values) {
285 await init;
286 if (relationMode === "prisma") {

Callers

nothing calls this directly

Calls 2

getPrismaModelFunction · 0.85
buildWhereFunction · 0.70

Tested by

no test coverage detected