JSON path wild cards?

Поиск
Список
Период
Сортировка
От Dennis
Тема JSON path wild cards?
Дата
Msg-id 45DB8C41-13C9-466D-AA1E-29A32B259D3A@visi.com
обсуждение исходный текст
Ответы Re: JSON path wild cards?  (Michael Paquier <michael.paquier@gmail.com>)
Re: JSON path wild cards?  (Dennis <dennisr@visi.com>)
Re: JSON path wild cards?  (Oleg Bartunov <obartunov@gmail.com>)
Список pgsql-general
Is there a way to specify a wild card in a json path?

For example I have the following json doc:

[ {“a”:1,”b”: [ { “x”: 7,”y”:8,”z”:9} ] },  {“a”:2,”b”: [ { “x”: 4,”y”:5,”z”:6} ] }, … ]

How do I write a select clause that can return the values for all b x values something like [{b:x}] that would return
allthe b:x values in the array? e.g. 7 and 4 ...  

Also is there a definition of the syntax of a proper json path for use in postgres?

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: using a postgres table as a multi-writer multi-updater queue
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: JSON path wild cards?