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 all the 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?

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to