From user-return-11504-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Fri Jul 16 08:38:13 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 37431 invoked from network); 16 Jul 2010 08:38:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 08:38:12 -0000 Received: (qmail 67864 invoked by uid 500); 16 Jul 2010 08:38:11 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 67428 invoked by uid 500); 16 Jul 2010 08:38:09 -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 67418 invoked by uid 99); 16 Jul 2010 08:38:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 08:38:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of perepelica.alex@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 08:38:00 +0000 Received: by wya21 with SMTP id 21so2144094wya.11 for ; Fri, 16 Jul 2010 01:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=ERDFQ9hALt5DAxXRNoq9OtGYcoz3rQYOLS3gWD/2UkM=; b=dWLNJxmKsa3Li8uHGjJLrGW94gszEqcETYA3MHTmNJhELJKNSDyh2tQTExFpIFeAYp lJ9RANIpqFyrm2uqsL1XCeRCHTpW542j1r3WF7t0aEdmc0+7UTFSZKoOR5VTs0n4BuBL Bw+3DJETW+d/aeQj7nM29SRvPw7raC1yuKevA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=fxQLTLzqP3FNVuugll1xvRvJNgJ4U1B/ysWqT9/Klp0ISpYL30vSQMKFOWP5lJyS24 j+AeJFOEgvvwToEOY3/TW9lvYp63zisdPtkHUzyyWNRZA67woFM3OrFhwqalJfn+HybT vPsgaArikF6597zKK710nkJ/hWpq9UZWz7R+8= Received: by 10.216.203.71 with SMTP id e49mr517042weo.60.1279269400220; Fri, 16 Jul 2010 01:36:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.91.74 with HTTP; Fri, 16 Jul 2010 01:36:20 -0700 (PDT) From: Alexander Perepelica Date: Fri, 16 Jul 2010 11:36:20 +0300 Message-ID: Subject: View with multiple parameters To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e6d7df282c1672048b7d1ea7 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7df282c1672048b7d1ea7 Content-Type: text/plain; charset=ISO-8859-1 Hello! I am new with couchdb. And I try to understand how can I create view where I can set >1 parameter. When I work with with sql I can do such query Select * From data Where ( Param1 >XXX and Param1 < YYY ) and ( Param2 >NNN and Param2 < OOO ) ... So when I must use only I parameter I do it with startkey and endkey. But if I have more then one parameter? Thank you! Alexander --0016e6d7df282c1672048b7d1ea7--