ronag opened a new issue #3977:
URL: https://github.com/apache/couchdb/issues/3977
I believe that if `key` is provided `endkey` should be ignored? The docs
seem to be unclear on this. However, the behavior I get is the opposite.
```
await couch.put('a', null, {})
await couch.put('b', null, {})
await couch.put('c', null, {})
const { rows } = await couch.allDocs({
key: 'a',
endkey: 'b'
})
console.log(rows)
```
```
test/index.js 2> [
test/index.js 2> {
test/index.js 2> id: 'a',
test/index.js 2> key: 'a',
test/index.js 2> value: { rev: '1-967a00dff5e02add41819138abb3284d' }
test/index.js 2> },
test/index.js 2> {
test/index.js 2> id: 'b',
test/index.js 2> key: 'b',
test/index.js 2> value: { rev: '1-967a00dff5e02add41819138abb3284d' }
test/index.js 2> }
test/index.js 2> ]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]