couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@grabb.it>
Subject Re: [PATCH] Views: Multiple keys
Date Thu, 07 Aug 2008 15:57:32 GMT
On Thu, Aug 7, 2008 at 7:53 AM, Bradford Winfrey <bradswinfrey@yahoo.com> wrote:
> So something to the tune of this should yield the docs?
>
> {"keys":[{"startkey1":"startVal1","endkey1":"endVal1"},{"startkey2":"startVal2","endkey2":"endVal2"}
]}
>
> Was gonna start playing with this this morning as I'm sure a handful of others will too!
>

I should have been more clear: the keys array would be like:

{"keys":["key1","key2","key3","key4"]}

I hadn't considered the other option - it would be possible to add key
range support, but the the exact keys array solves my use case.

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message