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

Function getRowCount

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

Source from the content-addressed store, hash-verified

1477 mapKeys(mapGet(tableCellIds, id(tableId)));
1478
1479 const getRowCount = (tableId: Id): number =>
1480 collSize(mapGet(tablesMap, id(tableId)));
1481
1482 const getRowIds = (tableId: Id): Ids =>
1483 mapKeys(mapGet(tablesMap, id(tableId)));

Callers 2

GettersFunction · 0.50

Calls 3

collSizeFunction · 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…