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

Function create

packages/core/fumadb/src/adapters/memory/index.ts:177–181  ·  view source on GitHub ↗
(table, values)

Source from the content-addressed store, hash-verified

175 await this.create(table, v.create);
176 },
177 async create(table, values) {
178 const row = applyDefaults(table, values);
179 tableRows(db, table).push(row);
180 return cloneValue(row);
181 },
182 async createMany(table, values) {
183 const idColumn = table.getIdColumn();
184 return Promise.all(values.map((value) => this.create(table, value))).then((rows) =>

Callers

nothing calls this directly

Calls 4

applyDefaultsFunction · 0.85
tableRowsFunction · 0.85
cloneValueFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected