Skip to content
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.

dropDatabase failing with error 'query failed: drop table __WebKitDatabaseInfoTable__;' #14

Open
connor-odoherty opened this issue Aug 25, 2017 · 1 comment

Comments

@connor-odoherty
Copy link

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)
        })
    }
@akashbiz
Copy link

Facing same issue, @connor-odoherty did you get any solution for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants