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
Список 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 по дате отправления: