| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| body?: object; | ||
| /** a MangoSelector defining the slice of the changes feed to return */ | ||
| selector?: MangoSelector; | ||
| /** a MangoSelector defining changes feed fields to return */ |
There was a problem hiding this comment.
A small error: this isn't a MangoSelector, it's an array. :)
Sorry, something went wrong.
| if (self.selector) { | ||
| req.body.selector = self.selector | ||
| } | ||
| if (self.fields) { |
There was a problem hiding this comment.
I don't see anything in the CouchDB docs saying that a fields array can be supplied. Am I missing something?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Overview
This PR is addressing issue #263
In simple words, it is adding support for fields and body params for changesreader.
Testing recommendations
You can run this code against any running CouchDB database e.g. https://registry.npmjs.org/
db.changesReader .start({ fields }) .on('changes', console.log);GitHub issue number
#263
Checklist