-
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
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.
{
"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 :)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request