incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@gmail.com>
Subject Re: 0.9 Progress
Date Tue, 30 Dec 2008 21:56:28 GMT
On Tue, Dec 30, 2008 at 9:13 AM, Damien Katz <damien@apache.org> wrote:
>> Fixing `descending=true` and the whole startkey & endkey swap. There's
>> a major n00b WTF there. I think in this case, an suprisingly empty
>> view result is not the best addition to the learning curve.
>
>
> So by swapping the startkey and endkey automatically, I think we'd be
> supporting a incorrect model about how the queries work.
>

You've convinced me.


>
> Perhaps a better way is to put a flag in the result set if the startkey and
> endkey are misordered, so when you get  back the results and they are empty,
> there will be a member like "keys_misordered:true".
>

Yes. Better documentation may be the best solution.

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

Mime
View raw message