databases method
The databases
method of the IDBFactory interface returns a
Promise
that fulfills with an array of objects containing the name and
version of all the available databases.
This is is a snapshot of the databases, intended primarily to allow web applications to check what databases have been created — in order to, for example, clean up databases created by earlier versions of application code.
Implementation
external JSPromise<JSArray<IDBDatabaseInfo>> databases();