On 24 Sep 2009, at 02:31, go canal wrote:

no problem. the link is still very useful.

I found 'HTTP_Bulk_Document_API' but empty page now 
http://wiki.apache.org/couchdb/%5BHTTP_Bulk_Document_API

Where di you find this (broken) link? The correct link is
http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API
and it is not empty :)

Cheers
Jan
--



any idea what is this for ?
thanks.
canal




________________________________
From: Simon Metson <[email protected]>
To: [email protected]
Sent: Thursday, September 24, 2009 6:06:31 AM
Subject: Re: is there a way to pass a request parameter to a view ?

Sorry - jet lag causing read fails...

On 23 Sep 2009, at 10:12, Jesse Hallett wrote:

The most efficient way to update a lot of docs currently is to download all of the docs via a view query - try the `includedocs` query parameter - and
then to bulk update those docs with a single POST request.

There is no mechanism for updating through the view directly.

On Sep 23, 2009 5:40 AM, "Simon Metson" <[email protected]> wrote:

Hi
      CouchDB takes care of the view slicing for you (see
http://wiki.apache.org/couchdb/HTTP_view_API. You'd write a view that emits some key:values, and then do the query you describe (?key=foo) to return only the values with key = foo. You can also do startkey=foo and endkey=bar to get a slice of the view (e.g. look for continuous data in a range). You don't need to worry about this in writing your view, since the view is
generated for all keys.
Cheers
Simon

On 23 Sep 2009, at 04:37, go canal wrote: > Hello, > use case: > - change
the value of a field o...



Reply via email to