Array of { startkey: .., endkey: ... }

37 views
Skip to first unread message

dyowee

unread,
Jun 5, 2016, 8:13:24 PM6/5/16
to Couchbase Mobile
Good day,

I was wondering if Couchbase Lite supports multiple startkeys and endkeys? This is a feature in CouchDB 2.0 (https://issues.apache.org/jira/browse/COUCHDB-523), but maybe Couchbase Lite already has it?


Jens Alfke

unread,
Jun 6, 2016, 12:18:11 PM6/6/16
to mobile-c...@googlegroups.com

On Jun 5, 2016, at 5:13 PM, dyowee <csharpen...@gmail.com> wrote:

I was wondering if Couchbase Lite supports multiple startkeys and endkeys? This is a feature in CouchDB 2.0 (https://issues.apache.org/jira/browse/COUCHDB-523), but maybe Couchbase Lite already has it?

No, but it’s definitely a reasonable feature to add in the future.

There’s less need for this than in CouchDB, though, since the overhead of running a query is significantly lower (no network lag or HTTP overhead.) There shouldn’t be much of a performance hit if you run a separate query for each key range, as a workaround.

—Jens

dyowee

unread,
Jun 9, 2016, 3:31:13 AM6/9/16
to Couchbase Mobile
I understand. Thanks!
Reply all
Reply to author
Forward
0 new messages