incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <>
Subject Re: Include_docs patch is up
Date Sun, 17 Aug 2008 08:29:33 GMT
On Sat, Aug 16, 2008 at 6:41 PM, Paul Davis <> wrote:
> I've pushed an include_docs patch to github:
> Code and tests for include_docs.
> "include_docs" will return the set of documents referred to in a
> view. It does this by adding a "docs" attribute to the returned
> json object. To acceess include_docs functionality, merely point your
> browser at a map view with the query string parameter ?include_docs=true


This is awesome to see. The tests are all passing on my machine now.

> A nifty feature implemented as per suggestion of Damien Katz is that if
> the emitted value has a "_rev" attribute, the corresponding
> document is returned (instead of a possibly more current version). This is
> to help minimize the possible effects of a race condition that exists.

I like the idea of emitting the _rev, there's probably a lot of things
you can use that for.

It's gonna be fun to refactor my app to use multi-key and see how much
more quickly it runs.


Chris Anderson

View raw message