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

Function getLinkedRowIds

src/ui-svelte/functions.svelte.ts:855–865  ·  view source on GitHub ↗
(
  relationshipId: MaybeGetter<Id>,
  firstRowId: MaybeGetter<Id>,
  relationshipsOrRelationshipsId?: MaybeGetter<Relationships | Id | undefined>,
)

Source from the content-addressed store, hash-verified

853 );
854
855export const getLinkedRowIds = (
856 relationshipId: MaybeGetter<Id>,
857 firstRowId: MaybeGetter<Id>,
858 relationshipsOrRelationshipsId?: MaybeGetter<Relationships | Id | undefined>,
859): {readonly current: Ids} =>
860 createListenable(
861 resolveRelationships(relationshipsOrRelationshipsId),
862 LINKED + ROW_IDS,
863 EMPTY_ARR,
864 () => [maybeGet(relationshipId), maybeGet(firstRowId)],
865 );
866
867export const getRelationshipsStoreTableIds = (
868 relationshipsOrId: MaybeGetter<Relationships | Id | undefined>,

Callers

nothing calls this directly

Calls 3

createListenableFunction · 0.70
resolveRelationshipsFunction · 0.70
maybeGetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…