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

Function transaction

packages/core/fumadb/src/query/orm/index.ts:431–435  ·  view source on GitHub ↗
(run)

Source from the content-addressed store, hash-verified

429 return internal.updateMany(table, { set, where: constrainedWhere });
430 },
431 async transaction(run) {
432 return internal.transaction((transactionInstance) =>
433 run(withQueryContext(transactionInstance, context)),
434 );
435 },
436 } as AbstractQuery<S>;
437
438 Object.defineProperty(query, "withContext", {

Callers

nothing calls this directly

Calls 3

withQueryContextFunction · 0.85
transactionMethod · 0.65
runFunction · 0.50

Tested by

no test coverage detected