MCPcopy Create free account
hub / github.com/tinyplex/tinybase / useSortedRowIds

Function useSortedRowIds

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:499–515  ·  view source on GitHub ↗
(tableIdOrArgs, cellIdOrStoreOrStoreId, descending, offset, limit, storeOrStoreId)

Source from the content-addressed store, hash-verified

497 tableId
498]);
499var useSortedRowIds = (tableIdOrArgs, cellIdOrStoreOrStoreId, descending, offset, limit, storeOrStoreId) => useSortedRowIdsImpl(
500 ...isObject(tableIdOrArgs) ? [
501 tableIdOrArgs.tableId,
502 tableIdOrArgs.cellId,
503 tableIdOrArgs.descending ?? false,
504 tableIdOrArgs.offset ?? 0,
505 tableIdOrArgs.limit,
506 cellIdOrStoreOrStoreId
507 ] : [
508 tableIdOrArgs,
509 cellIdOrStoreOrStoreId,
510 descending,
511 offset,
512 limit,
513 storeOrStoreId
514 ]
515);
516var useHasRow = (tableId, rowId, storeOrStoreId) => useListenable(ROW, useStoreOrStoreById(storeOrStoreId), 6, [
517 tableId,
518 rowId

Callers 1

SortedTableViewFunction · 0.70

Calls 2

useSortedRowIdsImplFunction · 0.70
isObjectFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…