Is it possible to create a calulated column using the values of json in postgresl ie -
I want to add longitude and latitude together as a new calculated column named total
SELECT id, location -> 'long' as long, location -> 'lat' as lat, (long + lat) as total
FROM users
All help appreciated Thanks