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

Function useLinkedRowIds

src/ui-solid/primitives.ts:1406–1416  ·  view source on GitHub ↗
(
  relationshipId: MaybeAccessor<Id>,
  firstRowId: MaybeAccessor<Id>,
  relationshipsOrRelationshipsId?: MaybeRelationshipsOrRelationshipsId,
)

Source from the content-addressed store, hash-verified

1404 );
1405
1406export const useLinkedRowIds = (
1407 relationshipId: MaybeAccessor<Id>,
1408 firstRowId: MaybeAccessor<Id>,
1409 relationshipsOrRelationshipsId?: MaybeRelationshipsOrRelationshipsId,
1410): Accessor<Ids> =>
1411 useListenable(
1412 LINKED + ROW_IDS,
1413 useRelationshipsOrRelationshipsById(relationshipsOrRelationshipsId),
1414 ReturnType.Array,
1415 [relationshipId, firstRowId],
1416 );
1417
1418export const useRemoteRowIdListener = (
1419 relationshipId: MaybeAccessor<IdOrNull>,

Callers 2

ReaderFunction · 0.90
primitives.test.tsFile · 0.90

Calls 2

useListenableFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…