Skip to main content

Module database_info_tool

Module database_info_tool 

Source
Expand description

The database_info tool: returns metadata about the SQLite database including file size, page metrics, journal mode, WAL status, version, and object counts.

Structs§

DatabaseInfoInput
The input parameters for the database_info tool.
DatabaseInfoOutput
The result of querying database metadata.
DatabaseInfoTool
Return metadata about the database: SQLite version, page size, page count, journal mode, WAL checkpoint status, total size in bytes, freelist (unused) page count, and the number of tables and indexes. Useful for monitoring database health and understanding storage characteristics.
WalCheckpointInfo
Information from a passive WAL checkpoint, as returned by PRAGMA wal_checkpoint(PASSIVE).

Enums§

DatabaseInfoError
Errors specific to the database_info tool.