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

Function getLocalRowIds

src/relationships/index.ts:204–210  ·  view source on GitHub ↗
(relationshipId: Id, remoteRowId: Id)

Source from the content-addressed store, hash-verified

202 mapGet((getRelationship(relationshipId) as IdMap<Id>[])?.[0], localRowId);
203
204 const getLocalRowIds = (relationshipId: Id, remoteRowId: Id): Ids =>
205 collValues(
206 mapGet(
207 (getRelationship(relationshipId) as IdMap<IdSet>[])?.[1],
208 remoteRowId,
209 ),
210 );
211
212 const getLinkedRowIds = (relationshipId: Id, firstRowId: Id): Ids =>
213 isUndefined(getRelationship(relationshipId))

Callers

nothing calls this directly

Calls 2

collValuesFunction · 0.90
mapGetFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…