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 18C6AD538 for ; Fri, 7 Sep 2012 22:21:48 +0000 (UTC) Received: (qmail 25302 invoked by uid 500); 7 Sep 2012 22:21:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 25243 invoked by uid 500); 7 Sep 2012 22:21:46 -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 25234 invoked by uid 99); 7 Sep 2012 22:21:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 22:21:46 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FSL_RCVD_USER,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [198.235.201.16] (HELO barracuda.northwestel.ca) (198.235.201.16) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 22:21:39 +0000 X-ASG-Debug-ID: 1347056475-047006158d101c0001-z14J5S Received: from [192.168.1.103] ([199.247.191.174]) by barracuda.northwestel.ca with ESMTP id mT8XBwezhDEtiYT6 for ; Fri, 07 Sep 2012 15:21:15 -0700 (PDT) X-Barracuda-Envelope-From: stephan@bardubitzki.com X-Barracuda-Apparent-Source-IP: 199.247.191.174 Message-ID: <504A735B.5080609@bardubitzki.com> Date: Fri, 07 Sep 2012 15:21:15 -0700 From: Stephan Bardubitzki User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: How to sort? References: <504A658D.3050603@bardubitzki.com> <504A69A9.3060005@bardubitzki.com> <2E615771-C31D-42EB-B33E-BEE35245285F@couchbase.com> X-ASG-Orig-Subj: Re: How to sort? In-Reply-To: <2E615771-C31D-42EB-B33E-BEE35245285F@couchbase.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Barracuda-Connect: UNKNOWN[199.247.191.174] X-Barracuda-Start-Time: 1347056475 X-Barracuda-URL: http://198.235.201.16:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at northwestel.ca X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.8 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.107908 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- That's what I was looking for. Thanks Jens! Stephan On 12-09-07 03:13 PM, Jens Alfke wrote: > On Sep 7, 2012, at 2:39 PM, Stephan Bardubitzki wrote: > >> { [key: category, {}] } ??? > startkey: [category] > endkey: [category, {}] > > The {} will sort after any scalar or array value, so it�s commonly used in array keys in queries to denote an end marker. > > �Jens > -------------------------------- > Spam/Virus scanning by CanIt Pro > > For more information see > http://www.kgbinternet.com/SpamFilter.htm > > To control your spam filter, log in at > http://filter.kgbinternet.com >