Reputation: 185
I want to get the list of all databases of my local server of CouchDB. Using CouchDB API I can list the databases, but using PouchDB I don't find anywhere how to do it.
Upvotes: 1
Views: 1658
Reputation: 79744
PouchDB does not support that natively, due to limitations in local storage--it doesn't allow a listing of existing content. If you use the pouchdb-all-dbs plugin, it will emulate the functionality for you, by watching all databases as they are created or deleted. But you must use this plugin at all times, to expect an accurate list.
Upvotes: 4