cozy / cozy-client-js

Javascript library to write Cozy applications
https://docs.cozy.io/en/cozy-client-js/README/
MIT License
11 stars 12 forks source link

feat: Allow passing options to findAll #317

Closed taratatach closed 3 years ago

taratatach commented 3 years ago

findAll is a helper method to call CouchDB's _all_docs route which can accept some request options. Instead of forcing the only option include_docs: true we add a new argument to specify them.

include_docs: true is the default value for this argument.