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? >
