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 5FD90DC3C for ; Wed, 22 May 2013 11:26:06 +0000 (UTC) Received: (qmail 58194 invoked by uid 500); 22 May 2013 11:26:05 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 57918 invoked by uid 500); 22 May 2013 11:26: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 57904 invoked by uid 99); 22 May 2013 11:26:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 11:26:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of north.n@gmail.com designates 209.85.220.52 as permitted sender) Received: from [209.85.220.52] (HELO mail-pa0-f52.google.com) (209.85.220.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 11:25:58 +0000 Received: by mail-pa0-f52.google.com with SMTP id bg2so1691128pad.11 for ; Wed, 22 May 2013 04:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/dwqzEIK7YGXJOJEFPbRT0aKw01HeDk+FvaAUk7RJpo=; b=mypPppwuUtUfT3kgfopxbC56qRoivQib8rOyEBRMn6xuZiXlf6h3+/b2vyjoFrxgQe cAPvelJ49QT2MNMOpdQlPMCDVaGBBY5SVSD+LKeUUXVGzQlXReLLILQdBo+N7sNrm7V9 Qcdrms8K4V+76zphdDP5HDVGLQOWQXE//PlRezKA6Cv7quhkHkZ7Ew3RQBTGJuV/0yTP 5xtzDjLvfo0EvzaF6qR6xhNKEjwMfNIez8R+Gj5lXi1KPZOv9f6wKh9F9BrQgkf4h3Or X7x785/wLyKY99LuKCmQCKiJiQ6XC8huLcddHkk4fe8xoC2d4FPiNwOQmlMhn/VqDGKf oqeQ== MIME-Version: 1.0 X-Received: by 10.66.146.7 with SMTP id sy7mr8022063pab.16.1369221937741; Wed, 22 May 2013 04:25:37 -0700 (PDT) Received: by 10.68.80.106 with HTTP; Wed, 22 May 2013 04:25:37 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 12:25:37 +0100 Message-ID: Subject: Re: [ASK] How to passing 1st view data to 2nd view?? From: Nick North To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=047d7b6d849437c31804dd4cd33f X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6d849437c31804dd4cd33f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Just a small thing, but you seem to have "debit" in some places and "debet" in others. This will cause the reduce function to miss data when its input is the result of a reduction. Nick On 22 May 2013 11:30, polutan wrote: > @ALL > Ok.. i ended up with this view. > http://easycaptures.com/fs/uploaded/641/0865962213.png > i will filter out manually by account number outside of couchdb. > any other advice? > > Thank You :) > > > > > 2013/5/22 Aur=E9lien B=E9nel > > > Hi Polutan, > > > > >>> The 1st view will give me data filtered by date range. The 2nd view > > will filter data from 1st view by account number range. So.. i need to > > know, how to passing 1st view data to 2nd view? > > >> You're running into some very basic (intentional) design limits in > > couchdb. > > > What??? I can't believe it :( > > > So. any other alternative for my case? > > > > Did you try with combined keys? > > What you can do with them still impress me. > > > > > I suggest you take a bit of time out and read the free & awesome > > definitive guide http://guide.couchdb.org/draft/index.html first. > > > > > > I second that. Most of what you will ask in the several days are probab= ly > > already there... and well written ;) > > > > > > Regards, > > > > Aur=E9lien > > > > > -- > *Coklat Stroberi -- Web Dev Training Centre* > http://www.facebook.com/pages/Coklat-Stroberi/249514251728226 (info lebi= h > lanjut) > http://coklatstroberi.net > Jl. Raya Padang Luwih (Dalung) No.141 - Telp. (0361) 9006118 atau > 08174128301 - Badung, Bali. Sebelah timur traffic light pertigaan perumah= an > dalung permai. > --047d7b6d849437c31804dd4cd33f--