Drop Database
dropDb
is used to remove the current database from browser storage.
connection.dropDb().then(function() {
console.log('Db deleted successfully');
}).catch(function(error) {
console.log(error);
});
dropDb
is used to remove the current database from browser storage.
connection.dropDb().then(function() {
console.log('Db deleted successfully');
}).catch(function(error) {
console.log(error);
});