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

Function useDelTableCallback

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

Source from the content-addressed store, hash-verified

858): Callback => useDel(storeOrStoreId, TABLES, then);
859
860export const useDelTableCallback = <Parameter>(
861 tableId: MaybeAccessor<Id> | GetId<Parameter>,
862 storeOrStoreId?: MaybeAccessor<StoreOrStoreId | undefined>,
863 then?: (store: Store) => void,
864): ParameterizedCallback<Parameter> =>
865 useDel(storeOrStoreId, TABLE, then, tableId);
866
867export const useDelRowCallback = <Parameter>(
868 tableId: MaybeAccessor<Id> | GetId<Parameter>,

Callers 3

WriterFunction · 0.90
primitives.test.tsFile · 0.90
DeleteTableFunction · 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…