couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: startkey/endkey and descending=true
Date Thu, 18 Jun 2009 21:06:41 GMT
Good call.

On Thu, Jun 18, 2009 at 4:52 PM, Chris Anderson<jchris@apache.org> wrote:
> 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