pouchdb-react-native icon indicating copy to clipboard operation
pouchdb-react-native copied to clipboard

PDBRN .allDocs with options.keys returns all documents in db

Open greenais opened this issue 7 years ago • 2 comments

Code

localDB.allDocs({
        include_docs: true,
        keys: idsList
      })

(where idsList is array of doc IDs), returns all docs in db istead of specified docs only.

Probably it's related somehow to API changes in pouchdb mentioned here?

greenais avatar Jul 01 '18 19:07 greenais

I too am seeing this behavior, using pouchdb-react-native 6.4.1.

epshtielsl avatar Nov 14 '18 15:11 epshtielsl

Update: downgrading to pouchdb-react-native version 6.3.4 seems to remedy the issue.

epshtielsl avatar Nov 14 '18 16:11 epshtielsl