Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 64748 invoked from network); 28 Dec 2008 19:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2008 19:22:11 -0000 Received: (qmail 12922 invoked by uid 500); 28 Dec 2008 19:22:05 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 12885 invoked by uid 500); 28 Dec 2008 19:22:05 -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 12823 invoked by uid 99); 28 Dec 2008 19:22:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Dec 2008 11:22:04 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Dec 2008 19:21:55 +0000 Received: from [192.168.1.35] (e179074040.adsl.alicedsl.de [::ffff:85.179.74.40]) (AUTH: LOGIN jan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Sun, 28 Dec 2008 19:21:34 +0000 Cc: dev@couchdb.apache.org Message-Id: From: Jan Lehnardt To: user@couchdb.apache.org In-Reply-To: <49C5583B-254D-4D4D-A4F7-AD7306E758F1@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Changing rev to _rev in view results (Was: Re: newbie question #1) Date: Sun, 28 Dec 2008 20:21:05 +0100 References: <98979283-BB61-4D15-AF05-196979FA42BC@pobox.com> <49C5583B-254D-4D4D-A4F7-AD7306E758F1@gmail.com> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org On 28 Dec 2008, at 14:32, Antony Blakey wrote: > > On 28/12/2008, at 11:56 PM, Paul Davis wrote: > >> Why "id" and "rev" are used instead of "_id" and >> "_rev" I couldn't really tell you. I hate to say "historical reasons" >> but I'm guessing that when Damien designed the view output he just >> labeled then "id" and "rev" without the underscore because it's not >> needed to distinguish from the rest of the doc. > > Desirable to change that (and any other inconsistencies) before a 1.0 This keeps coming up and I've been advocating this for a while now: +1 for changing view result rows `rev` to `_rev` to avoid confusion. CC'ing dev@c.a.o. Cheers Jan --