You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling a patch route on a jsonb field do i have to pass all the keys or is there a way to say i only want to update a single key in that object?
Currently I am experiencing an issue where I have multiple keys and i am only wanting to update one of them. I call the patch route and my object is being saved with all the keys removed except for the one i wanted to update.
When calling a patch route on a jsonb field do i have to pass all the keys or is there a way to say i only want to update a single key in that object?
Currently I am experiencing an issue where I have multiple keys and i am only wanting to update one of them. I call the patch route and my object is being saved with all the keys removed except for the one i wanted to update.
Object example before patch
Object after patch where i want to update meta.key2 = 'zap'
Ideally I would want the data to get merged so my object would look like the following
Any help would be greatly appreciated
The text was updated successfully, but these errors were encountered: