-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added doc_ids filtering in _changes api #3056
Conversation
This will need a test, and also probably an implementation in websql/idb/leveldb. I can work on that this weekend if you don't have time. |
@ktarasz Yup as Nolan said, we definitely need tests that verify this functionality works in a consistent way across adapters Copying a test like https://github.com/pouchdb/pouchdb/blob/master/tests/integration/test.changes.js#L1116 and removing the filter / adding the doc_id's param should be fairly doable, ask us if you run in to any issues |
Closing in favor of #3073. Thanks for the contribution, though; it pointed us in the right direction. :) |
`_changes` needs to accept POST as well as GET because of doc_ids.
`_changes` needs to accept POST as well as GET because of doc_ids.
`_changes` needs to accept POST as well as GET because of doc_ids.
* pouchdb/master: (57 commits) (pouchdb#2795) - Updating FAQ to clarify behavior of Firefox, Chrome, and Opera. (pouchdb#3056) - implement doc_ids filter (pouchdb#3103) - update mapreduce to 2.3.0 (pouchdb#3059) - Can't refresh appcache (pouchdb#3096) - clarify conflict resolution in docs (pouchdb#3092) - correctly handle attachments when _deleted (pouchdb#3100) - Fix bug in query documentation (pouchdb#3087) - simpler putLocal/removeLocal for idb (pouchdb#3074) - implement attachments=true for changes() (pouchdb#2975) - Fix couchdb-master setup script (pouchdb#3084) - API-level debug mode (pouchdb#3081) - correction to blog post (pouchdb#3083) - add crypto-pouch to external.md (pouchdb#3080) - Test pouchdb-express-router (pouchdb#3078) - remove _bulk_seq (pouchdb#3026) - fix race condition in leveldb (pouchdb#3062) - refactor idb/websql to share more code (pouchdb#3062) - fix leveldb bulkDocs ordering (pouchdb#3004) - Test for replication with funny ids (pouchdb#3044) - remove cutesy console message ...
* pouchdb/master: (68 commits) (pouchdb#2355) - Add info alert with full working example (pouchdb#3131) - add travis badge (pouchdb#3126) - npm run dev works without dist/ (pouchdb#3124) - Compress Images (pouchdb#3111) - change db.compact()'s return value back (pouchdb#3120) - small edits to guide (pouchdb#3122) - img partial and retro applicaton (pouchdb#3118) - Typo correction (pouchdb#3116) - typo correction (pouchdb#3061) - 3.2.0 version bump (pouchdb#3061) - 3.2.0 blog post (pouchdb#2795) - Updating FAQ to clarify behavior of Firefox, Chrome, and Opera. (pouchdb#3056) - implement doc_ids filter (pouchdb#3103) - update mapreduce to 2.3.0 (pouchdb#3059) - Can't refresh appcache (pouchdb#3096) - clarify conflict resolution in docs (pouchdb#3092) - correctly handle attachments when _deleted (pouchdb#3100) - Fix bug in query documentation (pouchdb#3087) - simpler putLocal/removeLocal for idb (pouchdb#3074) - implement attachments=true for changes() ...
Resolve #2569