rare-sapphire
rare-sapphire3y ago

useUpdateMany with foreign Key

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

Did you find this page helpful?