ionic-orm
ionic-orm copied to clipboard
dropDatabase failing with error 'query failed: drop table __WebKitDatabaseInfoTable__;'
I am attempting to write a function that lets me drop the database I am currently using. My method is a follows:
dropDatabase(): Promise<void>{
return new Promise<void>((resolve, reject) => {
this.getConnection().then(connection =>{
connection.dropDatabase().then(()=>{
connection.close().then(resolve,reject)
}, reject)
},reject)
})
}
Facing same issue, @connor-odoherty did you get any solution for this?