The examples listed here illustrate the use of IndexedDB Jquery plugin.
The indexeddb() method returns a promise among other things. The "resolve-callback" of the promise has the database object that can be used to query the various properties of the database.