Function: Get information from IndexDB
dbPromise.then(function(db) { var tx = db.transaction('store', 'readonly'); var store = tx.objectStore('store'); return store.get('sandwich'); }).then(function(val) { console.dir(val); });