new Dexie('MyDatabase').open().then(function (db) {
console.log ("Found database: " + db.name);
console.log ("Database version: " + db.verno);
db.tables.forEach(function (table) {
console.log ("Found table: " + table.name);
console.log ("Table Schema: " +
JSON.stringify(table.schema, null, 4));
});
}).catch('NoSuchDatabaseError', function(e) {
// Database with that name did not exist
console.error ("Database not found");
}).catch(function (e) {
console.error ("Oh uh: " + e);
});
But I don't see the values that I am trying to access. Also once getting to those values how can i convert it all to a JSON string.