Skip to content
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

pouchdb allDocs with specific keys return all documents in Database #7

Closed
Winglonelion opened this issue Jun 22, 2018 · 2 comments
Closed

Comments

@Winglonelion
Copy link

Winglonelion commented Jun 22, 2018

First, thanks for your great adapter and SQLite library for React Native, it save a lots day of us when implement CouchDb in mobile.

But, from PouchDb 6.4 when use allDocs API with keys option always return all documents in Database.

I think it relation with some change in allDocs API of PouchDB: https://github.com/pouchdb/pouchdb/releases/tag/6.4.0

And react-native-sql2 had incompatable with new change.

Because react-native-sql2 not have direct relation with React Native, so i post this issue here.

Similiar Issue here: pouchdb/pouchdb#7007

Hope to receive your respond soon

@craftzdog
Copy link
Owner

As this adapter is ported from pouchdb-adapter-cordova-sqlite, let's track how they will solve the problem on pouchdb-community/pouchdb-adapter-cordova-sqlite#83

At the moment, I recommend you to use PouchDB@5 which is totally stable in my RN app on production.

@Winglonelion
Copy link
Author

i see, seem like @6.3.4 also work fine. I will try it more and feedback late. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants