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

Function useRowIds

src/ui-solid/primitives.ts:569–578  ·  view source on GitHub ↗
(
  tableId: MaybeAccessor<Id>,
  storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
)

Source from the content-addressed store, hash-verified

567 );
568
569export const useRowIds = (
570 tableId: MaybeAccessor<Id>,
571 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
572): Accessor<Ids> =>
573 useListenable(
574 ROW_IDS,
575 useStoreOrStoreById(storeOrStoreId),
576 ReturnType.Array,
577 [tableId],
578 );
579
580export const useSortedRowIds = (
581 tableIdOrArgs: MaybeAccessor<Id> | SortedRowIdsArgs,

Callers 5

ReaderFunction · 0.90
primitives.test.tsFile · 0.90
TableViewFunction · 0.90
TableInHtmlTableFunction · 0.90
RelationshipInHtmlTableFunction · 0.90

Calls 2

useListenableFunction · 0.70
useStoreOrStoreByIdFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…