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

Function getRemoteRowId

src/relationships/index.ts:198–202  ·  view source on GitHub ↗
(
      relationshipId: Id,
      localRowId: Id,
    )

Source from the content-addressed store, hash-verified

196 mapGet(remoteTableIds, relationshipId) as Id;
197
198 const getRemoteRowId = (
199 relationshipId: Id,
200 localRowId: Id,
201 ): Id | undefined =>
202 mapGet((getRelationship(relationshipId) as IdMap<Id>[])?.[0], localRowId);
203
204 const getLocalRowIds = (relationshipId: Id, remoteRowId: Id): Ids =>
205 collValues(

Callers

nothing calls this directly

Calls 1

mapGetFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…