couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kore Nordmann <>
Subject Views: descending together with start/endkey
Date Sat, 16 Aug 2008 18:10:23 GMT
Hi list,

I just discovered, that I need to switch startkey and endkey depending 
on the state of the descending view parameter. I can see, that this 
makes sense from an implementation POV, but I find it a bit unintuitive 
from a users POV.

I would suggest to just swap the two key parameters internally, when 
descending is set to true. What are your thoughts on that? This can 
still be done in the userland code, so it might not be worth changing 
the API.

Kind regards,

Kore Nordmann                                        (GPG 0xDDC70BBB)

View raw message