Postgresql – Postgres Query JSON array of objects to return properties as columns
I have a Postgres addresses table with rows such as: id data 1 {"name": "Scott", "addresses": [{"city": "London", "street": "street 1"}, {"city": "Berlin", "street": "street 2"}]} 2 {"name": "Tiger", "addresses": [{"city": "Tokyo", "street": "street 3"}, {"city": "Zurich", "street": "street 4"}]}…