sqlite3: Add libsql_wal_frame_count() API

This commit is contained in:
Pekka Enberg 2025-05-15 10:06:10 +03:00
parent 78eb901940
commit 524a523036
6 changed files with 160 additions and 0 deletions

View file

@ -486,6 +486,10 @@ impl Connection {
Ok(())
}
pub fn wal_frame_count(&self) -> Result<u64> {
self.pager.wal_frame_count()
}
pub fn cacheflush(&self) -> Result<CheckpointStatus> {
self.pager.cacheflush()
}