kromm77 icon

Postgresql - Search json array

kromm77 | PRO | 02/12/16 07:41:37 AM UTC | 0 ⭐ | 474 👁️ | Never ⏰ | []
PostgreSQL |

190 B

|

None

|

0 👍

/

0 👎

with post as (select (json_array_elements(json_data->'lines'))::text lineid, json_data->>'logical_port' lp from inventory.fiberswitchport ) 
select * from post 
where lineid::text ='1808'::text

Comments