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

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

@connor-odoherty

Description

@connor-odoherty

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)
        })
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions