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

Function useRowCount

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

Source from the content-addressed store, hash-verified

725 );
726
727export const useRowCount: typeof useRowCountDecl = (
728 tableId: Id,
729 storeOrStoreId?: StoreOrStoreId,
730): number =>
731 useListenable(
732 ROW_COUNT,
733 useStoreOrStoreById(storeOrStoreId),
734 ReturnType.Number,
735 [tableId],
736 );
737
738export const useRowIds: typeof useRowIdsDecl = (
739 tableId: Id,

Callers 2

ReaderFunction · 0.90
SortedTableInHtmlTableFunction · 0.90

Calls 2

useStoreOrStoreByIdFunction · 0.90
useListenableFunction · 0.70

Tested by 1

ReaderFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…