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

Function useRowIds

src/ui-react/hooks.ts:738–747  ·  view source on GitHub ↗
(
  tableId: Id,
  storeOrStoreId?: StoreOrStoreId,
)

Source from the content-addressed store, hash-verified

736 );
737
738export const useRowIds: typeof useRowIdsDecl = (
739 tableId: Id,
740 storeOrStoreId?: StoreOrStoreId,
741): Ids =>
742 useListenable(
743 ROW_IDS,
744 useStoreOrStoreById(storeOrStoreId),
745 ReturnType.Array,
746 [tableId],
747 );
748
749export const useSortedRowIds: typeof useSortedRowIdsDecl = (
750 tableIdOrArgs: Id | SortedRowIdsArgs,

Callers 7

ReaderFunction · 0.90
TestFunction · 0.90
TableViewFunction · 0.90
TableInHtmlTableFunction · 0.90
RelationshipInHtmlTableFunction · 0.90
GettersFunction · 0.50
GettersFunction · 0.50

Calls 2

useStoreOrStoreByIdFunction · 0.90
useListenableFunction · 0.70

Tested by 2

ReaderFunction · 0.72
TestFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…