glynnbird opened a new pull request #93: Issue92 URL: https://github.com/apache/couchdb-nano/pull/93 ## Overview As outlined in isssue #92 , when using `db.list` (to access `/db/_all_docs`) and providing a `start_key` or `end_key` parameter, the values were not JSON.stringified by the library, whereas the parameters `startkey` and `endkey` were. It's an easy fix - simply adding `end_key` and `start_key` to the list of parameters that gets pre-processed. ## Testing recommendations ```js db.list({start_key:'cat1',end_key:'cat4'},(err, data) => { console.log(err, data) }) ``` ^ this used to fail with `400 - Bad Request` but now succeeds. ## GitHub issue number Issue #92 ## Related Pull Requests <!-- If your changes affects multiple components in different repositories please put links to those pull requests here. --> ## Checklist - [x] Code is written and works correctly; - [x] Changes are covered by tests; - [x] Documentation reflects the changes;
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
