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...