Skip to content

BetterSqlite3DatabaseOptions

Defined in: packages/db-sqlite/src/better-sqlite3.ts:27

Options for creating a better-sqlite3-backed DatabaseAdapter.

When client is supplied, path is ignored and the caller owns the lifecycle of the client (teardown is a no-op). This is the hook for shared connections and hermetic tests.

optional client?: Database

Defined in: packages/db-sqlite/src/better-sqlite3.ts:30


optional path?: string

Defined in: packages/db-sqlite/src/better-sqlite3.ts:28


optional readonly?: boolean

Defined in: packages/db-sqlite/src/better-sqlite3.ts:29