Add PRAGMA cipher to allow setting cipher algo

This commit is contained in:
Avinash Sajjanshetty
2025-08-25 02:17:53 +05:30
parent 279bcd0869
commit 328c5edf4d
5 changed files with 60 additions and 1 deletions

View File

@@ -1211,6 +1211,10 @@ pub enum PragmaName {
AutoVacuum,
/// `cache_size` pragma
CacheSize,
/// encryption cipher algorithm name for encrypted databases
#[strum(serialize = "cipher")]
#[cfg_attr(feature = "serde", serde(rename = "cipher"))]
EncryptionCipher,
/// List databases
DatabaseList,
/// Encoding - only support utf8