Closed davecut closed 8 months ago
Hello,
I was wondering how one can update a field of an already existing row in a pivot table using mutate.
I was using this body, but my request was considered as a new attach and it threw an error.
{ "mutate": [ { "operation": "update", "key": 1, "relations": { "posts": [ { "operation": "update", "key": 5, "pivot": { "number": 20 } }, ] } } ] }
Is there anything that can be done to achieve this pivot field update?
Thanks in advance :)
Hello @davecut,
Your issue relates to #68 which required to implement new operation in order to allow this kind of operation 😄 Will be implementend soon
Description
Hello,
I was wondering how one can update a field of an already existing row in a pivot table using mutate.
I was using this body, but my request was considered as a new attach and it threw an error.
Is there anything that can be done to achieve this pivot field update?
Thanks in advance :)