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

Function tableRows

packages/core/fumadb/src/adapters/memory/index.ts:96–99  ·  view source on GitHub ↗
(db: MemoryDatabase, table: AnyTable)

Source from the content-addressed store, hash-verified

94};
95
96const tableRows = (db: MemoryDatabase, table: AnyTable): Record<string, unknown>[] => {
97 db[table.ormName] ??= [];
98 return db[table.ormName]!;
99};
100
101const applyDefaults = (
102 table: AnyTable,

Callers 7

countFunction · 0.85
findManyFunction · 0.85
updateManyFunction · 0.85
upsertFunction · 0.85
upsertManyFunction · 0.85
createFunction · 0.85
deleteManyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected