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

Function getRowCount

src/ui-svelte/functions.svelte.ts:387–393  ·  view source on GitHub ↗
(
  tableId: MaybeGetter<Id>,
  storeOrStoreId?: MaybeGetter<Store | Id | undefined>,
)

Source from the content-addressed store, hash-verified

385 );
386
387export const getRowCount = (
388 tableId: MaybeGetter<Id>,
389 storeOrStoreId?: MaybeGetter<Store | Id | undefined>,
390): {readonly current: number} =>
391 createListenable(resolveStore(storeOrStoreId), ROW_COUNT, 0, () => [
392 maybeGet(tableId),
393 ]);
394
395export const getRowIds = (
396 tableId: MaybeGetter<Id>,

Callers

nothing calls this directly

Calls 3

createListenableFunction · 0.70
resolveStoreFunction · 0.70
maybeGetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…