Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 3564 invoked from network); 12 Dec 2009 22:49:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Dec 2009 22:49:24 -0000 Received: (qmail 63142 invoked by uid 500); 12 Dec 2009 22:49:22 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 63060 invoked by uid 500); 12 Dec 2009 22:49:22 -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 63050 invoked by uid 99); 12 Dec 2009 22:49:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Dec 2009 22:49:22 +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 alexander.uvarov@gmail.com designates 209.85.220.212 as permitted sender) Received: from [209.85.220.212] (HELO mail-fx0-f212.google.com) (209.85.220.212) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Dec 2009 22:49:10 +0000 Received: by fxm4 with SMTP id 4so2201204fxm.32 for ; Sat, 12 Dec 2009 14:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=sdIZnraEzvKesQ5Ix2WRO9EBt5iQbE+xmeHOXwcxqcU=; b=CEki38WMs+/7xf7KbAqU29syXfSxreSj+wjwKH2YaVRpQOVcrYRMCKw/Axh7I6QFr9 aw8yT7Jcqoh1vyx5tdazI/3v7AQuRkTZuOPcvblTe7DV4HsPNGDSTROu2Brow59BaPgj iiybTVlndjXiHQqMB5SA5ui5SGuUHHWr9BBA0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=FVnJnCf7buGrX+L+r3wqYYEk2wxc4p6X4fI44WC4o7dhKG3yqPaREUQoWTnUAJSIxs I9CPaMf+8k5NdOqAIn4w08rZf4rmBxp3kvjS6xpK8o1m7vDCm8I3rRx3UMuWKGi9xdvF EL4doTys/XeOUEgtbPI1KfgafMd/IJ20nnb/U= Received: by 10.223.92.131 with SMTP id r3mr3444213fam.40.1260658130095; Sat, 12 Dec 2009 14:48:50 -0800 (PST) Received: from ?89.204.74.80? ([89.204.74.80]) by mx.google.com with ESMTPS id 14sm1090168fxm.3.2009.12.12.14.48.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 12 Dec 2009 14:48:49 -0800 (PST) Message-Id: From: Alexander Uvarov To: user@couchdb.apache.org In-Reply-To: <6adfa88d0912121431y78aaea7elc5c84a4367cfb529@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: How to make equivalent of WHERE on JOINed table in CouchDB? Date: Sun, 13 Dec 2009 03:48:46 +0500 References: <6adfa88d0912121238p3d31e20bn710d23357f80656e@mail.gmail.com> <750D4B85-A604-4DA9-ADA5-82696E4ABE39@gmail.com> <6adfa88d0912121431y78aaea7elc5c84a4367cfb529@mail.gmail.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org h= ttp://github.com/apache/couchdb/commit/926af4ba11093dcaff13bea0e4ed9addfc6= 7ab10 Yes, this is edge feature. On Dec 13, 2009, at 3:31 AM, Pawe=C5=82 Stawicki wrote: > > Maybe this is something wrong with my CouchDB implementation. I have > version 0.10.0, not the newest one, so it's a pity I can't look at > this commit. But when I did what you told me, I got just car document, > not person one: > > {"id":"133fec564f0b68f30a7b7d63fe8235d2","key":"Ferrari","value":=20 > {"_id":"61fe9c6c226b978f74b76329191806b3"},"doc":=20 > {"_id=20 > ":"133fec564f0b68f30a7b7d63fe8235d2=20 > ","_rev=20 > ":"3=20 > -5af80a278515fc2caa4290598386050e=20 > ","person_id=20 > ":"61fe9c6c226b978f74b76329191806b3=20 > ","brand":"Ferrari","reg_number":"za3223d"}} > > Idea of having access in map function to other documents is great, I > hope I'll manage to get it working. > > Best regards > Pawel Stawicki