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

Function forEachTable

src/store/index.ts:2014–2025  ·  view source on GitHub ↗
(tableCallback: TableCallback)

Source from the content-addressed store, hash-verified

2012 };
2013
2014 const forEachTable = (tableCallback: TableCallback): void =>
2015 collForEach(tablesMap, (tableMap, tableId) =>
2016 tableCallback(tableId, (rowCallback) =>
2017 collForEach(tableMap, (rowMap, rowId) =>
2018 rowCallback(rowId, (cellCallback) =>
2019 mapForEach(rowMap, (cellId, cell) =>
2020 cellCallback(cellId, decodeIfJson(cell)),
2021 ),
2022 ),
2023 ),
2024 ),
2025 );
2026
2027 const forEachTableCell = (
2028 tableId: Id,

Callers

nothing calls this directly

Calls 3

collForEachFunction · 0.90
mapForEachFunction · 0.90
decodeIfJsonFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…