Skip to content

Javascript Sqlite database opening #7597

@Naman-ntc

Description

@Naman-ntc

Based on documentation on npmjs, the following is a way to open database.

(async() => {
    // open the database
    const db2 = await open({
        filename: '/tmp/database.db',
        driver: sqlite3.Database
    })
})()

The current model for sqlite only supports calls like sqlite3.Database(). I was wondering if this should be added? I do see that there'll be no end in sight updating models like this 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    JSacknowledgedGitHub staff acknowledges this issuequestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions