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 551338FB9 for ; Thu, 15 Sep 2011 14:18:47 +0000 (UTC) Received: (qmail 26137 invoked by uid 500); 15 Sep 2011 14:18:45 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26104 invoked by uid 500); 15 Sep 2011 14:18:45 -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 26089 invoked by uid 99); 15 Sep 2011 14:18:45 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2011 14:18:45 +0000 Received: from localhost (HELO mail-iy0-f180.google.com) (127.0.0.1) (smtp-auth username rnewson, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2011 14:18:45 +0000 Received: by iahk25 with SMTP id k25so1900437iah.11 for ; Thu, 15 Sep 2011 07:18:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.4.131 with SMTP id 3mr1968144ibr.30.1316096324744; Thu, 15 Sep 2011 07:18:44 -0700 (PDT) Received: by 10.231.79.210 with HTTP; Thu, 15 Sep 2011 07:18:44 -0700 (PDT) In-Reply-To: References: Date: Thu, 15 Sep 2011 15:18:44 +0100 Message-ID: Subject: Re: Accessing a Document's Sequence in a view From: Robert Newson To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Add "options":{local_seq: true} at the top-level of your design doc and then doc._local_seq will be populated with that value. On 15 September 2011 14:59, Luke Driscoll wrote: > Is it at all possible for us to be able to access a documents last change > sequence, not revision, in the view code? > > Thanks > Luke >