couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Kuprianov <andrey.koupria...@gmail.com>
Subject Re: CouchDB joins
Date Fri, 24 Aug 2012 17:41:13 GMT
Actually, it would still be convenient to pull any document from within a
view based on some id in order to emit mixed value of both base document
and a dependent one. Oh, well.. Maybe in future releases.

On Sat, Aug 25, 2012 at 1:27 AM, Andrey Kuprianov <
andrey.kouprianov@gmail.com> wrote:

> Yup, that's right! I have never actually looked at that before, Thanks
> Jayson.
>
>
> On Sat, Aug 25, 2012 at 1:21 AM, Jayson Barley <jayson.barley@gmail.com>wrote:
>
>> It sounds like you want a view that emits some values and emits a doc
>> based
>> on the id contained in some field. If I understand this correctly you
>> should be able to use a linked document to accomplish what you need.
>>
>>
>> http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views#Linked_documents
>>
>>
>> On Fri, Aug 24, 2012 at 10:11 AM, Andrey Kuprianov <
>> andrey.kouprianov@gmail.com> wrote:
>>
>> > What is the reason that we cannot pull an arbitrary document from
>> within a
>> > design document view function?
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message