-
Notifications
You must be signed in to change notification settings - Fork 59
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
Dump collection with query_params #71
Comments
Yes, just did this recently.In your .dump command, add a 'filter'. Something like this should work:
Note: if you are also going to turn on live syncing between this sourceDB and wherever this dump is headed, you should also consider creating a design doc with the same filter, and including it in your live sync command. :-) |
Thank you, work nice ! Very good feature :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi community :)
I would like dump my PouchDB collection with params.
I've test this, but no result : all my collection is dumped :
Presentations.dump(ws, { query_params: { state: 'static' }});
I want dump only object with state: 'static'. Exemple of my document :
Anyone have idea ? :)
Thank you community !
The text was updated successfully, but these errors were encountered: