List All the Databases

Learn to display the databases present in IndexedDB for the current origin.

The databases() method

The databases() method, when called on the IndexedDB object, will return a list of all the databases present in the current origin.

Syntax

indexedDB.databases();
Syntax to get all the databases

This method returns a promise object. ...