incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: representing many-to-many relations with concurrent inserts
Date Sat, 12 Dec 2009 17:55:34 GMT
Hi,

I don't think this has been documented yet. It'd be great if you could
update the wiki :)

Cheers
Jan
--

On 1 Dec 2009, at 11:51, christian schilling wrote:

> thats sounds like a feature i have been waiting for. sadly i can't find any
> documentation about this, am i looking in the wrong places (couchdb wiki) or
> does is not exist?
> 
> 2009/12/1 Chris Anderson <jchris@apache.org>
> 
>> On Tue, Dec 1, 2009 at 8:30 AM, Pete Hodgson <public@thepete.net> wrote:
>>>> Have you looked at the include_docs=true view query parameter? With
>>>> CouchDB 0.11 you can emit {"_id":"foo"} to include docs that aren't
>>>> the one that did the emiting.
>>>> 
>>>> This technique is used in http://aimpl.org/
>>>> 
>>>> 
>>>> 
>>> Hi Chris,
>>> 
>>> Thanks, I have tried include_docs. As I recall, when I did that couchDB
>>> included the /mapping document/, not the log entry document. Does that
>> seem
>>> feasible? I can go back and confirm the exact results if needed (not at
>> the
>>> machine in question ATM).
>>> 
>> 
>> Yes, the ability to link to non-mapping docs is new in trunk.
>> 
>> 
>> --
>> Chris Anderson
>> http://jchrisa.net
>> http://couch.io
>> 


Mime
View raw message