You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jens Alfke (JIRA)" <ji...@apache.org> on 2014/09/11 18:11:34 UTC
[jira] [Commented] (COUCHDB-1125) implement inclusive_start view
option
[ https://issues.apache.org/jira/browse/COUCHDB-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14130219#comment-14130219 ]
Jens Alfke commented on COUCHDB-1125:
-------------------------------------
FYI: As I'm not subject to bike-shedding, I just went ahead and implemented a boolean `inclusive_start` property in Couchbase Lite. (It's not in a release yet, but should appear in 1.0.3, at least in the Objective-C version.)
https://github.com/couchbase/couchbase-lite-ios/wiki/Query-Enhancements
This seems like an obvious enhancement and I'm disappointed CouchDB hasn't added it yet.
> implement inclusive_start view option
> -------------------------------------
>
> Key: COUCHDB-1125
> URL: https://issues.apache.org/jira/browse/COUCHDB-1125
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Jan Lehnardt
> Priority: Minor
> Attachments: inclusive_start.patch
>
>
> From COUCHDB-194:
> I suggest to generalize to left or/and right opened range.
> Because, to select a left opened range of keys, we have to use a tip.
> Exemple :
> keys = [1, 2, 3, 4, 5]
> to select where 2<key
> We have to do : startkey=2&skip=1
> But :
> If keys are no unique, the "skip" tip no more works.
> Ex: keys = [1, 2, 2, 3, 4, 5]
> The request startkey=2&skip=1 doesn't work because a "2" key is returned.
> (ps: non unique keys can be a wanted result)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)