You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by malka feldman <ma...@gmail.com> on 2010/07/01 09:36:37 UTC
how to add fields to exist document
--
Regards, Malka
Tribase LTD.
Elad
Re: how to add fields to exist document
Posted by Sebastian Cohnen <se...@googlemail.com>.
this one is easy :)
POST your changed document to the document location (/database/documentid) and don't forget to provide the correct MVCC-token (_rev). Done :)
On 01.07.2010, at 09:36, malka feldman wrote:
> --
> Regards, Malka
> Tribase LTD.
> Elad
Re: how to add fields to exist document
Posted by Paweł Stawicki <pa...@gmail.com>.
I think (not tested) you just have to get document, add fields, and
put it back to db. If _id is not empty, existing document with such
_id should be updated.
--
Paweł Stawicki
http://pawelstawicki.blogspot.com
http://szczecin.jug.pl
On Thu, Jul 1, 2010 at 09:36, malka feldman <ma...@gmail.com> wrote:
> --
> Regards, Malka
> Tribase LTD.
> Elad
>
Re: how to add fields to exist document
Posted by Benoit Chesneau <bc...@gmail.com>.
On Thu, Jul 1, 2010 at 9:36 AM, malka feldman <ma...@gmail.com> wrote:
> --
> Regards, Malka
> Tribase LTD.
> Elad
>
body is missing. but the answer is to update the document.
- benoit