SQLite: Add tuning options to configuration

This commit is contained in:
Tim Wojtulewicz 2024-08-19 17:27:12 -07:00
parent ec49f5d550
commit 3e8ff836aa
2 changed files with 30 additions and 0 deletions

View file

@ -18,5 +18,14 @@ export {
## Name of the table used for storing data.
table_name: string;
## Key/value table for passing tuning parameters when opening
## the database. These must be pairs that can be passed to the
## ``pragma`` command in sqlite.
tuning_params: table[string] of string &default=table(
["journal_mode"] = "WAL",
["synchronous"] = "normal",
["temp_store"] = "memory"
);
};
}