Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/store-sqlite-encrypted / loadCipherPeer

Function: loadCipherPeer()

ts
function loadCipherPeer(): Promise<BetterSqlite3Constructor>;

Defined in: packages/store-sqlite-encrypted/src/cipher-peer.ts:39

Loads better-sqlite3-multiple-ciphers. The result is cached for the lifetime of the process so repeat callers (encrypt + rekey + connection-open in the same process) share one native handle.

Returns

Promise&lt;BetterSqlite3Constructor&gt;

Stable