On Sat, Aug 16, 2008 at 6:41 PM, Paul Davis <[EMAIL PROTECTED]> wrote: > I've pushed an include_docs patch to github: > http://github.com/davisp/couchdb/tree/multiget > > 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 >
Paul, 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 -- Chris Anderson http://jchris.mfdz.com
