jsonb modify list postgres code example
Example: update json in postgres
[{“type”: “phone”, “value”: “+1–202–555–0105”}, {“type”: “email”, “value”: “jimi.hendrix@gmail.com”}]
[{“type”: “email”, “value”: “janis.joplin@gmail.com”}]
[{“type”: “phone”, “value”: “+1–202–555–0105”}, {“type”: “email”, “value”: “jimi.hendrix@gmail.com”}]
[{“type”: “email”, “value”: “janis.joplin@gmail.com”}]