couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: Ordering of keys into reduce function
Date Thu, 14 May 2009 16:15:13 GMT
On Thu, May 14, 2009 at 9:30 AM, Brian Candler <B.Candler@pobox.com> wrote:
> On Wed, May 13, 2009 at 10:08:05AM -0400, Paul Davis wrote:
>> > (*) An alternative would be to do two queries: startkey=aaa&limit=1 and
>> > endkey=bbb&limit=1&descending=true. I would like to avoid two queries,
and
>> > I'd also like this functionality for group_level=n, such that within each
>> > group I know the minimum and maximum key.
>> >
>>
>> You mean the minimum and maximum value?
>
> No, I mean the minimum and maximum keys (in the some key range aaa to bbb).
>

Then emit your keys as values too :D

Mime
View raw message