incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Uvarov <alexander.uva...@gmail.com>
Subject Re: How to make equivalent of WHERE on JOINed table in CouchDB?
Date Sat, 12 Dec 2009 22:48:46 GMT
http://github.com/apache/couchdb/commit/926af4ba11093dcaff13bea0e4ed9addfc67ab10

Yes, this is edge feature.

On Dec 13, 2009, at 3:31 AM, PaweĊ‚ 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": 
> {"_id":"61fe9c6c226b978f74b76329191806b3"},"doc": 
> {"_id 
> ":"133fec564f0b68f30a7b7d63fe8235d2 
> ","_rev 
> ":"3 
> -5af80a278515fc2caa4290598386050e 
> ","person_id 
> ":"61fe9c6c226b978f74b76329191806b3 
> ","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


Mime
View raw message