UPDATE test SET data = jsonb_set(data, '{name}', '"my-other-name"') WHERE id = 123;
How to perform update operations on columns of type JSONB in Postgres 9.4 | StackOverflow
Last updated 4 years ago