Thanks Adrian Klaver, Its really helped me to solve my problem, ya i have
example_list = jsonfield.JSONField() in models. Apologies i did not mention
that. but anyways thank again.
On Thu, Oct 30, 2014 at 8:09 PM, Adrian Klaver
wrote:
> On 10/29/2014 11:26 PM, VENKTESH GUTTEDAR wrote:
>
>> @Adri
On 10/29/2014 11:26 PM, VENKTESH GUTTEDAR wrote:
@Adrian Klaver, Thanks for this idea but still m really confused with
how to update the json filed in the DB. is there any way to update the
json field in the DB through view.?
Realized I should have shown at least one concrete example so, assum
On 10/29/2014 11:26 PM, VENKTESH GUTTEDAR wrote:
@Adrian Klaver, Thanks for this idea but still m really confused with
how to update the json filed in the DB. is there any way to update the
json field in the DB through view.?
Sure, how you would normally update a value. Assuming id is unique:
@Adrian Klaver, Thanks for this idea but still m really confused with how
to update the json filed in the DB. is there any way to update the json
field in the DB through view.?
On Wed, Oct 29, 2014 at 7:37 PM, Adrian Klaver
wrote:
> On 10/29/2014 01:06 AM, VENKTESH GUTTEDAR wrote:
>
>> Ya agreed
On 10/29/2014 01:06 AM, VENKTESH GUTTEDAR wrote:
Ya agreed thats not legal JSON, that was typing mistake sorry for that,
let me make you clear what i need exactly,
I have table named (exampleTable) with json field as (example_list), and
when i say
SELECT * FROM exampleTable;
id | example_list
Ya agreed thats not legal JSON, that was typing mistake sorry for that,
let me make you clear what i need exactly,
I have table named (exampleTable) with json field as (example_list), and
when i say
SELECT * FROM exampleTable;
id |
example_list
---+--
On Wed, Oct 29, 2014 at 3:42 PM, VENKTESH GUTTEDAR
wrote:
> As i am new to postgresql, i am learning through experimenting things.
>
> i have a table with json data type field, so there is some data for
> example :
>
> { [ { a:b, b:c } ] }
>
> and now if i append data then it s
Hello,
As i am new to postgresql, i am learning through experimenting things.
i have a table with json data type field, so there is some data for
example :
{ [ { a:b, b:c } ] }
and now if i append data then it should be like :
{ [ { a:b, b:c }, { e:f, g:h } ] }