MCPcopy
hub / github.com/tinyplex/tinybase / getTable

Function getTable

src/store/index.ts:1473–1474  ·  view source on GitHub ↗
(tableId: Id)

Source from the content-addressed store, hash-verified

1471 const getTableIds = (): Ids => mapKeys(tablesMap);
1472
1473 const getTable = (tableId: Id): Table =>
1474 mapToObj2(mapGet(tablesMap, id(tableId)), decodeIfJson);
1475
1476 const getTableCellIds = (tableId: Id): Ids =>
1477 mapKeys(mapGet(tableCellIds, id(tableId)));

Callers 1

GettersFunction · 0.50

Calls 3

mapToObj2Function · 0.90
mapGetFunction · 0.90
idFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…