Answers for "set a value of jsonb postgres"

SQL
1

update json in postgres

[{“type”: “phone”, “value”: “+1–202–555–0105”}, {“type”: “email”, “value”: “[email protected]”}]

[{“type”: “email”, “value”: “[email protected]”}]
Posted by: Guest on December-07-2020
0

postgres jsonb array push new element

UPDATE jsontesting
SET jsondata = jsondata || '["newString"]'::jsonb
WHERE id = 7;
Posted by: Guest on August-11-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language