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

Function create

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

Source from the content-addressed store, hash-verified

208 }
209 },
210 async create(table, values) {
211 const row = applyDefaults(table, values);
212 tableRows(db, table).push(row);
213 return cloneValue(row);
214 },
215 async createMany(table, values) {
216 const idColumn = table.getIdColumn();
217 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