couchbaselabs / couchbaselabs/cbforest
InclusiveEnd=false query does not work unless end key is specified
- Dominant language
- C++
- Stars
- 18
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
ForestDB [disallows skipping keys if the keys are empty](https://github.com/couchbase/forestdb/blob/0d24efb9f5aed4c19ba5e66256e3b5b53190a874/src/iterator.cc#L122-L125), which means that when [CBForest uses an empty Collatable](https://github.com/couchbaselabs/cbforest/blob/d6d38d9f4d98f97f7d57a7a3f3dcdcd440bc566d/CBForest/Index.cc#L218) then any query with InclusiveEnd=false (or descending and InclusiveStart=false) will fail because the enumerator will be `NULL` due to an error unless the end (or start in the case of descending) key is specified.
> WARNING: ForestDB error: invalid arguments (-1)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.