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

Function getCell

src/store/index.ts:1527–1530  ·  view source on GitHub ↗
(tableId: Id, rowId: Id, cellId: Id)

Source from the content-addressed store, hash-verified

1525 mapKeys(mapGet(mapGet(tablesMap, id(tableId)), id(rowId)));
1526
1527 const getCell = (tableId: Id, rowId: Id, cellId: Id): CellOrUndefined =>
1528 decodeIfJson(
1529 mapGet(mapGet(mapGet(tablesMap, id(tableId)), id(rowId)), id(cellId)),
1530 );
1531
1532 const getValues = (): Values => mapToObj(valuesMap, decodeIfJson);
1533

Callers 15

getCellChangeFunction · 0.70
setCellFunction · 0.70
createStoreFunction · 0.70
hooks.test.tsxFile · 0.50
metrics.tsFile · 0.50
indexes.tsFile · 0.50
GettersFunction · 0.50
relationships.tsFile · 0.50
queries.tsFile · 0.50
primitives.test.tsFile · 0.50

Calls 3

decodeIfJsonFunction · 0.90
mapGetFunction · 0.90
idFunction · 0.90

Tested by 4

firstOrSecondLetterFunction · 0.40
keyAndValueFunction · 0.40
lettersFunction · 0.40
customLinkFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…