eager-peach
eager-peach2y ago

useUpdateMany with foreign Key

How to update many with foreign keys
5 Replies
kapa.ai
kapa.ai2y 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.ai2y 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.ai2y ago
<@1011493481136541737> kapa.ai is still learning and improving, please let us how it did by reacting below
rising-crimson
rising-crimson2y ago
Hey @Shyamili, It depends on your API and updateMany method logic of your dataProvider
eager-peach
eager-peach2y ago
okay..Thank you.. I am using nHost