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

Function createMany

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

Source from the content-addressed store, hash-verified

555 return await internal.create(table, values);
556 },
557 async createMany(name, values) {
558 const table = toTable(name);
559 for (const value of values) {
560 await runCreatePolicies(table, value, context);
561 }
562
563 return await internal.createMany(table, values);
564 },
565 async deleteMany(name, { where }) {
566 const table = toTable(name);
567 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