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

Function run

packages/core/fumadb/src/adapters/drizzle/runtime.ts:395–399  ·  view source on GitHub ↗
(target: ExecutableDrizzleDb)

Source from the content-addressed store, hash-verified

393): Promise<void> => {
394 const statements = createDrizzleRuntimeSchemaSql(options);
395 const run = async (target: ExecutableDrizzleDb) => {
396 for (const statement of statements) {
397 await runStatement(target, statement);
398 }
399 };
400
401 if (db.transaction) {
402 await db.transaction(run);

Callers 6

transactionFunction · 0.70
transactionFunction · 0.50
transactionFunction · 0.50
transactionFunction · 0.50
transactionFunction · 0.50

Calls 1

runStatementFunction · 0.85

Tested by

no test coverage detected