From user-return-20743-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Wed May 9 18:17:35 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3611B994F for ; Wed, 9 May 2012 18:17:35 +0000 (UTC) Received: (qmail 60427 invoked by uid 500); 9 May 2012 18:17:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 60375 invoked by uid 500); 9 May 2012 18:17:33 -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 60367 invoked by uid 99); 9 May 2012 18:17:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 18:17:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jens@couchbase.com designates 206.225.164.30 as permitted sender) Received: from [206.225.164.30] (HELO EXHUB020-3.exch020.serverdata.net) (206.225.164.30) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 18:17:27 +0000 Received: from EXVMBX020-1.exch020.serverdata.net ([169.254.4.3]) by EXHUB020-3.exch020.serverdata.net ([206.225.164.30]) with mapi; Wed, 9 May 2012 11:17:05 -0700 From: Jens Alfke To: "user@couchdb.apache.org" Date: Wed, 9 May 2012 11:17:05 -0700 Subject: Re: include_docs with _all_docs Thread-Topic: include_docs with _all_docs Thread-Index: Ac0uD/AEwp/ozPxmSjOZ55n0R/wJag== Message-ID: References: <7caa2578e04507ec25f97df01e5d66ab.squirrel@secure61.inmotionhosting.com> In-Reply-To: <7caa2578e04507ec25f97df01e5d66ab.squirrel@secure61.inmotionhosting.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On May 9, 2012, at 11:02 AM, wrote: > Isn't there > something that just gives me the list of attributes (metadata only) like > dictionary tables provide in relational databases? e.g. output would be: > "id","key","value","doc":{"_id","_rev","Name","Email","Notes"} Nope. And I=92m having trouble thinking of a reason you=92d want it =85 may= be if you explain why, we can suggest a Couch-like way of doing it. (For ex= ample, if you=92re trying to find all documents that contain a particular a= ttribute, you=92d write a view to select those and then query that view.) =97Jens=