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

Function getRemoteRowId

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

Source from the content-addressed store, hash-verified

829 );
830
831export const getRemoteRowId = (
832 relationshipId: MaybeGetter<Id>,
833 localRowId: MaybeGetter<Id>,
834 relationshipsOrRelationshipsId?: MaybeGetter<Relationships | Id | undefined>,
835): {readonly current: Id | undefined} =>
836 createListenable(
837 resolveRelationships(relationshipsOrRelationshipsId),
838 REMOTE_ROW_ID,
839 undefined,
840 () => [maybeGet(relationshipId), maybeGet(localRowId)],
841 );
842
843export const getLocalRowIds = (
844 relationshipId: MaybeGetter<Id>,

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…