Files
openpanel/documentation/src/partials/data-provider/data-hooks.md
Stefan Pejcic 8496a83edb fork refine
2024-02-05 10:23:04 +01:00

2.1 KiB

Hook Method Description
useOne getOne get a single record.
useUpdate update update an existing record.
useCreate create create a new record.
useDelete deleteOne delete a single record.
useList or useInfiniteList getList get a list of records.
useApiUrl getApiUrl get the API URL.
useCustom custom making custom API requests.
useMany getMany get multiple records.
useCreateMany createMany create multiple records.
useDeleteMany deleteMany delete multiple records.
useUpdateMany updateMany update multiple records.