MCPcopy Index your code
hub / github.com/tinyplex/tinybase / forEachCell

Function forEachCell

src/store/index.ts:2041–2049  ·  view source on GitHub ↗
(
    tableId: Id,
    rowId: Id,
    cellCallback: CellCallback,
  )

Source from the content-addressed store, hash-verified

2039 );
2040
2041 const forEachCell = (
2042 tableId: Id,
2043 rowId: Id,
2044 cellCallback: CellCallback,
2045 ): void =>
2046 mapForEach(
2047 mapGet(mapGet(tablesMap, id(tableId)), id(rowId)),
2048 (cellId, cell) => cellCallback(cellId, decodeIfJson(cell)),
2049 );
2050
2051 const forEachValue = (valueCallback: ValueCallback): void =>
2052 mapForEach(valuesMap, (valueId, value) =>

Callers 7

indexes.tsFile · 0.50
relationships.tsFile · 0.50
store.tsFile · 0.50
mergeable-store.tsFile · 0.50
indexes.test.tsFile · 0.50

Calls 4

mapForEachFunction · 0.90
mapGetFunction · 0.90
idFunction · 0.90
decodeIfJsonFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…