Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 6416 invoked from network); 4 Apr 2009 02:34:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Apr 2009 02:34:48 -0000 Received: (qmail 33394 invoked by uid 500); 4 Apr 2009 02:34:47 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 33350 invoked by uid 500); 4 Apr 2009 02:34: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 33340 invoked by uid 99); 4 Apr 2009 02:34:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2009 02:34:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kowsik@gmail.com designates 209.85.200.168 as permitted sender) Received: from [209.85.200.168] (HELO wf-out-1314.google.com) (209.85.200.168) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Apr 2009 02:34:39 +0000 Received: by wf-out-1314.google.com with SMTP id 28so1370343wfa.29 for ; Fri, 03 Apr 2009 19:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=BGZ1v8hTfhRdJahQh9DrM4yX+7mGmr+n9rWWPjMxAjk=; b=jMmrPWpdXFt6SIaGVZFi7KiDJgRLafp/4ulgJ0XZNDPvQjNuHprBgx5lfr/4vMrP7w yLCQrGZJcyGEg8Q5MPEK4WhWw+DiNmdUj6xOQvnVuNMxf8ub8ci0Gjr8uEG/h6TAhfWB 79uDdtXiGE03i5xp0K3wItG1K6RSKgsrTcry0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=VZkdxT3fT/U44epJhqr9P7Tm/MEnpdK1cqv2/5CUzAdeCzScQOlxpz60xhee7zNkO0 O47EFDDmCxdIgrfUv5oNqbJv/4bnjX6aBGP9VbH4M7+41/vmDX32k+afZJy31hp/J/Rj Hknd6NJH6tg5LI/ZDNeYv01N8cUcHKeyE2eJA= MIME-Version: 1.0 Received: by 10.142.230.9 with SMTP id c9mr503914wfh.101.1238812457568; Fri, 03 Apr 2009 19:34:17 -0700 (PDT) In-Reply-To: <49D6B35F.5080903@michevan.id.au> References: <7db9abd30904031143p6686452dk7aa267e2381f354d@mail.gmail.com> <49D6B35F.5080903@michevan.id.au> Date: Fri, 3 Apr 2009 19:34:17 -0700 Message-ID: <7db9abd30904031934r14bbe886o2d39cdd7c42eefb5@mail.gmail.com> Subject: Re: Interactive CouchDB From: kowsik To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks. Try the last example (in the try/learn drop down) where the CouchDB 'log' function is mapped to window.alert. On FF3, you can change this to console.log and you will see the arguments passed into the reduce function. I was planning (soon!) on adding view parameters (all, key, range) so that the bottom right JSON reflects your parameters. Maybe even display how the REST URL will look like based on all the entered parameters. This, for sure, helped me understand how rereduce works. :-) K. On Fri, Apr 3, 2009 at 6:09 PM, Evan McLean wrote: > That totally rawks. > > One thing I would add would be a dump of the arguments passed into, and > results passed out of each call to the reduce function (I find those > hard to grok, too.) > > The next thing, which is probably a bit trickier, is to be able to add > some of the arguments that you can use when calling a view, such as > keystart. > > Fantastic. > > E. >