MCPcopy Create free account
hub / github.com/tinyplex/tinybase / getRemoteRowId

Function getRemoteRowId

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:3975–3975  ·  view source on GitHub ↗
(relationshipId, localRowId)

Source from the content-addressed store, hash-verified

3973 };
3974 const getRemoteTableId = (relationshipId) => mapGet(remoteTableIds, relationshipId);
3975 const getRemoteRowId = (relationshipId, localRowId) => mapGet(getRelationship(relationshipId)?.[0], localRowId);
3976 const getLocalRowIds = (relationshipId, remoteRowId) => collValues(mapGet(getRelationship(relationshipId)?.[1], remoteRowId));
3977 const getLinkedRowIds = (relationshipId, firstRowId) => isUndefined(getRelationship(relationshipId)) ? [firstRowId] : collValues(getLinkedRowIdsCache(relationshipId, firstRowId, true));
3978 const addRemoteRowIdListener = (relationshipId, localRowId, listener) => addListener(listener, remoteRowIdListeners, [relationshipId, localRowId]);

Callers

nothing calls this directly

Calls 1

mapGetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…