On Thu, May 14, 2009 at 9:30 AM, Brian Candler <b.cand...@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