couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: startkey/endkey and descending=true
Date Thu, 18 Jun 2009 20:52:29 GMT
On Wed, Jun 17, 2009 at 4:39 PM, Blair Nilsson<blair.nilsson@gmail.com> wrote:

> but if we use
> group=true&descending=true&startkey=["Mark",4]&endkey=["Mark",4,{}]
>
> we get
> {"rows":[]}
>

It would be fairly easy to throw an error when the startkey is after
the endkey (eg it's impossible that there could be query result rows)
and it would make this a lot easier for users to debug. I'll add a
jira ticket.

Chris

-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Mime
View raw message