Thanks I will try JsQuery out.
Also is there any other way to manipulate the resultset, something like
selecting all the rows that have "details" into a temporary structure and
querying that?
SELECT * FROM orders WHERE document @> '[]' AND document ->> 'details' >
'1';
--
View this message in context: http://postgresql.nabble.com/query-nested-levels-in-jsonb-tp5852918p5852937.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.