couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Cohnen <sebastiancoh...@googlemail.com>
Subject Re: Returning document referenced by _id in view
Date Mon, 17 May 2010 16:05:17 GMT
the wiki is missing this information, will add that somewhere...

On 17.05.2010, at 18:00, Alexander Uvarov wrote:

> 
> On 17.05.2010, at 21:57, Ning Tan wrote:
> 
>> I remember a "new" feature for the views to return referenced
>> document(s) if I emit their keys in a certain way, thus saving me a
>> round trip to load those documents, but I can't find the documentation
>> describing that feature anymore.
>> 
>> Can somebody help me?
>> 
>> Thanks!
> 
> emit(key, { "_id": some_id })
> 
> http://blog.couch.io/post/446015664/whats-new-in-apache-couchdb-0-11-part-two-views
> 
> Cheers.


Mime
View raw message