seigel/pouchdb-react-native

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

Opened this issue · 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?

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

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