public/db.js
//runs the checkDB function we've used from class to check our cached mongodb. 
runs the checkDB function we've used from class to check our cached mongodb.
runs the checkDB function we ' ve used from class to check our cached mongodb .
function checkDB() {
    const transaction = db.transaction(["pending"], "readwrite");
    const store = transaction.objectStore("pending");
    const getAll = store.getAll();
}
function checkDB ( ) { const transaction = db . transaction ( [ "pending" ] , "readwrite" ) ; const store = transaction . objectStore ( "pending" ) ; const getAll = store . getAll ( ) ; }
runs the checkDB function we've used from class to check our cached mongodb.
runs the checkDB function we ' ve used from class to check our cached mongodb .