update-json-value-in-postgresql
Update JSON value in PostgreSQL
UPDATE test SET data = jsonb_set(data, '{name}', '"my-other-name"') WHERE id = 123;
References
Last updated
Was this helpful?
UPDATE test SET data = jsonb_set(data, '{name}', '"my-other-name"') WHERE id = 123;
Last updated
Was this helpful?