Skip to content
Discussion options

You must be logged in to vote

Yes, the PATCH method will update the whole JSON column. To update just parts of it, you could use jsonb_set in a function, but it will require the exact index in the array.

Please provide a bit more details on how you will be updating / inserting the fields inside the json array because I can't see an straight forward way to do so in PostgreSQL (or maybe I'm missing something).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@laurenceisla
Comment options

@jimmiejackson414
Comment options

@wolfgangwalther
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants