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

Function useDelRowCallback

src/ui-solid/primitives.ts:867–873  ·  view source on GitHub ↗
(
  tableId: MaybeAccessor<Id> | GetId<Parameter>,
  rowId: MaybeAccessor<Id> | GetId<Parameter>,
  storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
  then?: (store: Store) => void,
)

Source from the content-addressed store, hash-verified

865 useDel(storeOrStoreId, TABLE, then, tableId);
866
867export const useDelRowCallback = <Parameter>(
868 tableId: MaybeAccessor<Id> | GetId<Parameter>,
869 rowId: MaybeAccessor<Id> | GetId<Parameter>,
870 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
871 then?: (store: Store) => void,
872): ParameterizedCallback<Parameter> =>
873 useDel(storeOrStoreId, ROW, then, tableId, rowId);
874
875export const useDelCellCallback = <Parameter>(
876 tableId: MaybeAccessor<Id> | GetId<Parameter>,

Callers 3

WriterFunction · 0.90
primitives.test.tsFile · 0.90
DeleteRowFunction · 0.90

Calls 1

useDelFunction · 0.70

Tested by 1

WriterFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…