Query on JSON field type

From: Mick <m(dot)d(dot)berceanu(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Query on JSON field type
Date: 2012-11-14 22:27:38
Message-ID: 799be782-1492-42bc-a230-4066514dcfee@googlegroups.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,
my field is called Samples and the value is {"R":100, "S":101, "Q":102}. how do I find all Samples for which "R" = 100?
Thank you in advance.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message James David Smith 2012-11-14 23:23:09 Re: to_number function
Previous Message manno_it@libero.it 2012-11-14 21:30:48 to_number function