Article 6HTVV Postgres query inside a json Field

Postgres query inside a json Field

by
glennbtn
from LinuxQuestions.org on (#6HTVV)
Hi All

I need to get some data out of our phone system. All the calls are written to the database and the json field which contains the data I need.

Can anyone advise how I would do a db search in the json field for all the "digits_dialed": "2"

I can do the normal select * from v_xml_cdr for basic stuff but this has me stumped as there is so much data in this field in each column

Thanks
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments