There are different ways of using the json(b) operators in a PostgreSQL column.
The differences between two of them (->) and (->>) are described below:
‘[1,2,3]’::json->2 returns “2”
‘[1,2,3]’::json->>2 returns 2
There are different ways of using the json(b) operators in a PostgreSQL column.
The differences between two of them (->) and (->>) are described below:
‘[1,2,3]’::json->2 returns “2”
‘[1,2,3]’::json->>2 returns 2