incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <randall.le...@gmail.com>
Subject Re: Bulk update best practices
Date Fri, 09 Sep 2011 07:42:43 GMT
There is no way to bulk update documents on the server.
You can fetch all the documents you want to edit with _all_docs and update
them with _bulk_docs, but that is the best you get.
See here: https://wiki.apache.org/couchdb/HTTP_Bulk_Document_API

On Thu, Sep 8, 2011 at 07:21, Fabio Di Bernardini <fdb@altraqua.com> wrote:

> Hi,
>
> my use case: i would set a flag ("read" or "unread") in a group of
> documents
> with only one request.
> My first idea was to send a list of ids using an _update handler but
> reading
> docs it seem to work only on one document.
> I'm wrong? How to solve this case?
>
> Thanks.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message