I am new in pouchdb and I can't understand the API.
I want to know what is the best way to delete all documents with a javascript code. I try many things but nothing seams to work.
Do I have to use some options in the allDocs method like:
db.allDocs({include_docs: true, deleted: true})