implement the pragma page_count

To do that, we also have to implement the vdbe opcode Pagecount.
This commit is contained in:
Glauber Costa
2025-01-29 11:00:10 -05:00
parent 20d3399c71
commit a3387cfd5f
7 changed files with 52 additions and 2 deletions

View File

@@ -1594,6 +1594,8 @@ pub enum PragmaName {
CacheSize,
/// `journal_mode` pragma
JournalMode,
/// Return the total number of pages in the database file.
PageCount,
/// returns information about the columns of a table
TableInfo,
/// trigger a checkpoint to run on database(s) if WAL is enabled