fix(electron): enable WAL mode for sqlite (#8336)

fix AF-1015
This commit is contained in:
pengx17
2024-09-25 04:06:03 +00:00
parent e6feb17ac7
commit e839947dd5
6 changed files with 36 additions and 3 deletions
+5
View File
@@ -30,6 +30,11 @@ export declare class SqliteConnection {
get isClose(): boolean
static validate(path: string): Promise<ValidationResult>
migrateAddDocId(): Promise<void>
/**
* Flush the WAL file to the database file.
* See https://www.sqlite.org/pragma.html#pragma_wal_checkpoint:~:text=PRAGMA%20schema.wal_checkpoint%3B
*/
checkpoint(): Promise<void>
}
export interface BlobRow {