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 <
[email protected]> 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 <[email protected]>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 <
>> [email protected]> wrote:
>>
>> > What is the reason that we cannot pull an arbitrary document from
>> within a
>> > design document view function?
>> >
>>
>
>

Reply via email to