couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "william kinney" <william.kin...@gmail.com>
Subject Re: bulk_docs
Date Thu, 18 Sep 2008 14:48:34 GMT
Ah I was accidentally including a _rev value.

Thanks for the help,
Will

On Thu, Sep 18, 2008 at 10:39 AM, Paul Davis <paul.joseph.davis@gmail.com>wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message