couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <>
Subject Re: [jira] Commented: (COUCHDB-194) [startkey, endkey[: provide a right-open range selection method
Date Fri, 06 Feb 2009 21:48:26 GMT
On Fri, Feb 6, 2009 at 10:53 AM, Paul Joseph Davis (JIRA)
<> wrote:
> My vote would be to make left and right ends optionally open or closed. I can put some
time into trying my hand a patch pretty soon.

The open/closed distinction is counter-intuitive to me, maybe the
options api would be better off as inclusive_start=true
inclusive_end=true (the current behavior) being the default, where
either can be overridden with false.

Maybe defaulting to inclusive_end=false (a change in default behavior)
would be better, but let's play with it a little first.

Chris Anderson

View raw message