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

Function createMany

packages/core/fumadb/src/query/orm/index.ts:375–382  ·  view source on GitHub ↗
(name, values)

Source from the content-addressed store, hash-verified

373 return await internal.create(table, values);
374 },
375 async createMany(name, values) {
376 const table = toTable(name);
377 for (const value of values) {
378 await runCreatePolicies(table, value, context);
379 }
380
381 return await internal.createMany(table, values);
382 },
383 async deleteMany(name, { where }) {
384 const table = toTable(name);
385 let conditions = where ? buildCondition(table.columns, where) : undefined;

Callers

nothing calls this directly

Calls 2

toTableFunction · 0.85
runCreatePoliciesFunction · 0.85

Tested by

no test coverage detected