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

Function getRow

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

Source from the content-addressed store, hash-verified

435 );
436
437export const getRow = (
438 tableId: MaybeGetter<Id>,
439 rowId: MaybeGetter<Id>,
440 storeOrStoreId?: MaybeGetter<Store | Id | undefined>,
441): {readonly current: Row} =>
442 createListenable(resolveStore(storeOrStoreId), ROW, EMPTY_OBJ as Row, () => [
443 maybeGet(tableId),
444 maybeGet(rowId),
445 ]);
446
447export const getCellIds = (
448 tableId: MaybeGetter<Id>,

Callers 2

useAddRowCallbackFunction · 0.50
useAddRowCallbackFunction · 0.50

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…