sqliteCipher
Creates an encrypted SQLite (SQLCipher) driver on Android.
URL forms:
sqlite::memory:— in-memory database (not persisted).sqlite:name.db— a relative name, resolved into the app's private database directory via Context.getDatabasePath.sqlite:/absolute/path.db— an absolute filesystem path, used as-is.
Parameters
Android context used to resolve relative database filenames.
The SQLite connection URL.
The SQLCipher passphrase, applied as PRAGMA key. Pass an empty string for an unencrypted database.
Connection pool configuration.
Optional registry of value encoders used when binding query parameters.
Creates an encrypted SQLite (SQLCipher) driver.
Parameters
The SQLite connection URL, e.g. sqlite:data.db, sqlite://data.db, sqlite:///abs/path.db or sqlite::memory:.
The SQLCipher passphrase, applied as PRAGMA key. Pass an empty string to open an unencrypted database — useful for migrating an existing plaintext file.
Connection pool configuration.
Optional registry of value encoders used when binding query parameters.
Note: on Android, use the sqliteCipher(context, ...) overload instead — a Context is required to resolve a relative database filename to the app's private storage.
Creates an encrypted SQLite (SQLCipher) driver.
Parameters
The SQLite connection URL, e.g. sqlite:data.db, sqlite://data.db, sqlite:///abs/path.db or sqlite::memory:.
The SQLCipher passphrase, applied as PRAGMA key. Pass an empty string to open an unencrypted database — useful for migrating an existing plaintext file.
Connection pool configuration.
Optional registry of value encoders used when binding query parameters.
Note: on Android, use the sqliteCipher(context, ...) overload instead — a Context is required to resolve a relative database filename to the app's private storage.
Creates an encrypted SQLite (SQLCipher) driver.
Parameters
The SQLite connection URL, e.g. sqlite:data.db, sqlite://data.db, sqlite:///abs/path.db or sqlite::memory:.
The SQLCipher passphrase, applied as PRAGMA key. Pass an empty string to open an unencrypted database — useful for migrating an existing plaintext file.
Connection pool configuration.
Optional registry of value encoders used when binding query parameters.
Note: on Android, use the sqliteCipher(context, ...) overload instead — a Context is required to resolve a relative database filename to the app's private storage.
Creates an encrypted SQLite (SQLCipher) driver.
Parameters
The SQLite connection URL, e.g. sqlite:data.db, sqlite://data.db, sqlite:///abs/path.db or sqlite::memory:.
The SQLCipher passphrase, applied as PRAGMA key. Pass an empty string to open an unencrypted database — useful for migrating an existing plaintext file.
Connection pool configuration.
Optional registry of value encoders used when binding query parameters.
Note: on Android, use the sqliteCipher(context, ...) overload instead — a Context is required to resolve a relative database filename to the app's private storage.