Merge 'Feat/pragma module list' from Lucas Forato

Implementation of the module_list pragma

Reviewed-by: Diego Reis (@el-yawd)
Reviewed-by: Preston Thorpe <preston@turso.tech>

Closes #2430
This commit is contained in:
Preston Thorpe
2025-08-11 13:54:24 -04:00
committed by GitHub
8 changed files with 109 additions and 5 deletions

View File

@@ -1814,6 +1814,9 @@ pub enum PragmaName {
LegacyFileFormat,
/// Set or get the maximum number of pages in the database file.
MaxPageCount,
/// `module_list` praagma
/// `module_list` lists modules used by virtual tables.
ModuleList,
/// Return the total number of pages in the database file.
PageCount,
/// Return the page size of the database in bytes.