Skip to content

Allow easy way to get Sqlite3 version #1122

Closed
@code-ape

Description

@code-ape

In working with better-sqlite3 we wanted to check the exact version of sqlite3 being used to ensure a feature was available or throw an error. There does not appear to be any way to get the sqlite3 version out of better-sqlite3 right now.

Suggestion of something like:

console.log(db.sqlite3Version)
// 3.44.2

Related Issues & PRs:

  1. Issue #5769: Sqlite support multi-value JSON insert knex/knex#5782

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions