src/store/indexeddb-local-backend.js
function() {
        console.log(
            `LocalIndexedDBStoreBackend: loading account data...`,
        );
        return Promise.try(() => {
            const txn = this.db.transaction(["accountData"], "readonly");
            const store = txn.objectStore("accountData");
            return selectQuery(store, undefined, (cursor) => {
                return cursor.value;
            }).then((result) => {
                console.log(
                    `LocalIndexedDBStoreBackend: loaded account data`,
                );
                return result;
            });
        });
    }
function() {
        console.log(
            `LocalIndexedDBStoreBackend: loading account data...`,
        );
        return Promise.try(() => {
            const txn = this.db.transaction(["accountData"], "readonly");
            const store = txn.objectStore("accountData");
            return selectQuery(store, undefined, (cursor) => {
                return cursor.value;
            }).then((result) => {
                console.log(
                    `LocalIndexedDBStoreBackend: loaded account data`,
                );
                return result;
            });
        });
    }
function ( ) { console . log ( ` ` , ) ; return Promise . try ( ( ) => { const txn = this . db . transaction ( [ "accountData" ] , "readonly" ) ; const store = txn . objectStore ( "accountData" ) ; return selectQuery ( store , undefined , ( cursor ) => { return cursor . value ; } ) . then ( ( result ) => { console . log ( ` ` , ) ; return result ; } ) ; } ) ; }
Load all the account data events from the database. This is not cached.
@return {Promise<Object[]>} A list of raw global account events.
Load all the account data events from the database . This is not cached .