couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: representing many-to-many relations with concurrent inserts
Date Tue, 01 Dec 2009 16:32:52 GMT
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