incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <paul.joseph.da...@gmail.com>
Subject Re: bulk_docs
Date Thu, 18 Sep 2008 14:39:23 GMT
Will,

POST to _bulk_docs works for both. For updates you need to make sure
and include the _rev attribute.
Also, adding a _deleted=true attribute will delete the doc.

http://wiki.apache.org/couchdb/HttpDocumentApi

Paul

On Thu, Sep 18, 2008 at 10:35 AM, william kinney
<william.kinney@gmail.com> wrote:
> Hello,
>
> Is POST /*db*/_bulk_docs only for existing docs (ie UPDATE not CREATE) ?
> If so, is there any talk of a PUT /*db*/_bulk_docs ? Does that even make
> sense?
>
> Thanks,
> Will
>

Mime
View raw message