How to search a string inside a json structure

Поиск
Список
Период
Сортировка
От Sami Pietilä
Тема How to search a string inside a json structure
Дата
Msg-id CAN08J2jQP3NN_dwOtO6BvbRE_jnBDRiOfsc73-4vHwdKRXUQtQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to search a string inside a json structure  ("Jason O'Donnell" <odonnelljp01@gmail.com>)
Список pgsql-general
Hi,

I have a database with jsonb type of columns. Colums contain complex json structures. I would like to get all rows which contain a json where any of json's values matches to a given string (like %hello%).

How to create a postgre sql query to do this?

I guess postgre should traverse though each json structures while finding the string.

Thanks

В списке pgsql-general по дате отправления:

Предыдущее
От: Igor Bossenko
Дата:
Сообщение: Re: Is there bigintarray?
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: Waiting on ExclusiveLock on extension 9.3, 9.4 and 9.5