incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Bardubitzki <step...@bardubitzki.com>
Subject Re: How to get the doc
Date Thu, 31 May 2012 16:20:05 GMT
Thanks, missed that. Would be this the best way to go in any case? Or 
are there scenarios where emitting doc is more appropriate?

On 12-05-31 09:12 AM, Simon Metson wrote:
> Query the view with ?include_docs=true http://wiki.apache.org/couchdb/HTTP_view_API#Querying_Options
>
>
> On Thursday, 31 May 2012 at 17:07, Stephan Bardubitzki wrote:
>
>> Somewhere I read that emitting doc._id and doc is a waste of resources
>> and that they come for free.
>>
>> I know that doc._id comes for free, but how do I get the doc for example
>> in this case:
>>
>> emit(doc.name (http://doc.name), null)
>>
>> Thanks.
>> Stephan
>>
>>
>
>
> --------------------------------
> Spam/Virus scanning by CanIt Pro
>
> For more information see
> http://www.kgbinternet.com/SpamFilter.htm
>
> To control your spam filter, log in at
> http://filter.kgbinternet.com
>

Mime
View raw message