Skip to content

SQLite SQLITE_ENABLE_DBSTAT_VTAB #57863

@jlarmstrongiv

Description

@jlarmstrongiv

What is the problem this feature will solve?

I cannot query statistics like table size from SQLite. Trying to use the dbstat table results in an error:

Error: no such table: dbstat

  code: 'ERR_SQLITE_ERROR',
  errcode: 1,
  errstr: 'SQL logic error'

What is the feature you are proposing to solve the problem?

SQLITE_ENABLE_DBSTAT_VTAB will enable using the dbstat virtual table.

Please see the table in the SQLite docs for more information on which columns are available.

What alternatives have you considered?

I would have to use an external process with a different SQLite3 binary or third-party library to get this information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    Status

    Awaiting Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions