wise-white
wise-white16mo ago

useUpdateMany with foreign Key

How to update many with foreign keys
5 Replies
kapa.ai
kapa.ai16mo ago
Hi @Shyamili. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai16mo ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the useUpdateMany documentation (https://refine.dev/docs/api-reference/core/hooks/data/useUpdateMany/) for more information on updating multiple records. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
useUpdateMany | refine
useUpdateMany is an extended version of TanStack Query's useMutation. It supports all the features of useMutation and adds some extra features.
kapa.ai
kapa.ai16mo ago
<@1011493481136541737> kapa.ai is still learning and improving, please let us how it did by reacting below
fascinating-indigo
fascinating-indigo16mo ago
Hey @Shyamili, It depends on your API and updateMany method logic of your dataProvider
wise-white
wise-white16mo ago
okay..Thank you.. I am using nHost