How to update objects inside JSONB arrays with PostgreSQL

How to update objects inside JSONB arrays with PostgreSQL

6 years ago
Anonymous $9jpehmcKty

https://medium.freecodecamp.org/how-to-update-objects-inside-jsonb-arrays-with-postgresql-5c4e03be256a

Let’s say you decided to store data in the database as json or jsonb and discovered that you just created new problems for yourself that you didn’t have before. You’re not alone.

JSONB is a powerful tool, but it comes at some cost because you need to adapt the way you query and handle the data.