Updating a related property using useUpdate hook
I'm currently working on a project and I want to use Refine's powerful useUpdate hook. Specifically, I'm facing a challenge where I need to update a specific property in a related table called let's say "related-things." I'm using PostgreSQL as my database and Prisma as the ORM. I am also using the default data provider (I did not create my own data provider)
Here's the scenario: I have a table named let's say "things" and within that, I need to update a property in the related "related-things" table. My aim is to leverage the useUpdate hook to accomplish this, but I'm unsure about the best approach.
I would greatly appreciate your guidance on how to effectively utilize the useUpdate hook in this context. If you could provide me with code examples, step-by-step instructions, or recommended resources, it would be immensely helpful in overcoming this challenge.
Thank you in advance for your support
Here's the scenario: I have a table named let's say "things" and within that, I need to update a property in the related "related-things" table. My aim is to leverage the useUpdate hook to accomplish this, but I'm unsure about the best approach.
I would greatly appreciate your guidance on how to effectively utilize the useUpdate hook in this context. If you could provide me with code examples, step-by-step instructions, or recommended resources, it would be immensely helpful in overcoming this challenge.
Thank you in advance for your support
