Need Guidance on Appending new data to existing field of Json data type

From: VENKTESH GUTTEDAR <venkteshguttedar(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Need Guidance on Appending new data to existing field of Json data type
Date: 2014-10-29 07:05:23
Message-ID: CA+iwz4nHfO7DYzOkX+KiMAz0GXsNHmz4TKAzG5HONh-HDvbCWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 } ] }

Is there any way to achieve this. please help.!

I have Postgresql 9.3.5

--
Regards :
Venktesh Guttedar.

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2014-10-29 07:10:35 Re: How to find earlest possible start times for given duration excluding reservations
Previous Message VENKTESH GUTTEDAR 2014-10-29 06:42:37 Appending new data to existing field of Json data type