Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 95345 invoked from network); 28 Oct 2009 12:43:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 12:43:59 -0000 Received: (qmail 50965 invoked by uid 500); 28 Oct 2009 12:43:58 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 50896 invoked by uid 500); 28 Oct 2009 12:43:58 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 50886 invoked by uid 99); 28 Oct 2009 12:43:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 12:43:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [12.107.188.150] (HELO mx1.compuware.com) (12.107.188.150) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 12:43:50 +0000 Received: from nasa-dtw-ex009.nasa.cpwr.corp (unknown [10.10.0.230]) by mx1.compuware.com (Postfix) with ESMTP id DA3F472D0A1 for ; Wed, 28 Oct 2009 12:43:25 +0000 (GMT) Content-Transfer-Encoding: 7bit Importance: normal Priority: normal Received: from nasa-dtw-ex004.nasa.cpwr.corp ([10.10.1.107]) by nasa-dtw-ex009.nasa.cpwr.corp with Microsoft SMTPSVC(6.0.3790.3959); Wed, 28 Oct 2009 08:43:25 -0400 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA57CC.3DE1440B" Subject: Can you connect one view to another? Date: Wed, 28 Oct 2009 08:43:25 -0400 Message-ID: <319C03F7A120754B9128CF308BF5E0370308FF08@nasa-dtw-ex004.nasa.cpwr.corp> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can you connect one view to another? Thread-Index: AcpXzD3UXs9/mx7eR0S2OhjOfK1iug== From: "Welch, Matt" To: X-OriginalArrivalTime: 28 Oct 2009 12:43:25.0870 (UTC) FILETIME=[3E0154E0:01CA57CC] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA57CC.3DE1440B Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I'm pretty new to CouchDB so please pardon me if this is a silly question, but can you connect the results of one view to another? Imagine I have a bunch of children documents and each child has a favorite color. I also have a bunch of toy documents and each toy has a color. I want to build a list of what toys each child will like based on its color.=20 I can make a view to emit(color, name) for each toy and something similar for each child. But then do I have to connect the two in my code? If your dataset gets large that seems like a lot of work gets pushed out to the client end. Is there any way to construct a view that links these together? The contents of this e-mail are intended for the named addressee only. = It contains information that may be confidential. Unless you are the = named addressee or an authorized designee, you may not copy or use it, = or disclose it to anyone else. If you received it in error please notify = us immediately and then destroy it. ------_=_NextPart_001_01CA57CC.3DE1440B--