API reference › @evolu/sqlite-wasm › SqliteEncryptionUnsupportedError

Defined in: packages/sqlite-wasm/src/Database.ts:564

What Evolu's codec refuses because it cannot keep a database encrypted, or because a database keyed through SQL would stay plaintext. For an encrypted database, a read or write that is not a whole page, a page 1 that would change the page size or the reserved bytes, as a VACUUM that changes the page size writes it, turning secure_delete off, or the hot journal of one opened without its key, which fails with SQLITE_CANTOPEN and stays for the key. For any database on a pool, the keying pragmas, such as PRAGMA key, and a page 1 that says WAL.

Extends

  • Typed<"SqliteEncryptionUnsupported">

Properties

type

readonly type: "SqliteEncryptionUnsupported";

Defined in: packages/common/dist/src/Type.d.ts:9304

Inherited from

Typed.type