Re: query nested levels in jsonb

From: wanna_be <thirulok_t(at)hotmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: query nested levels in jsonb
Date: 2015-06-08 16:05:37
Message-ID: 1433779537833-5852937.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Federico Leoni 2015-06-08 23:14:51 How to correct this encoding/decoding issue with lists?
Previous Message Thom Brown 2015-06-08 15:53:43 Re: query nested levels in jsonb