Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/store-sqlite / connection / readPragma
Function: readPragma()
ts
function readPragma(conn, name): unknown;Defined in: packages/store-sqlite/src/connection.ts:313
Pragma helper that surfaces the runtime value of a single setting as a typed scalar. Used by the integration tests to verify the WAL hardening defaults landed correctly.
Parameters
| Parameter | Type |
|---|---|
conn | SqliteConnection |
name | string |
Returns
unknown