Skip to content

BunSqliteDatabaseOptions

Defined in: packages/db-sqlite/src/bun-sqlite.ts:25

Options for creating a Bun-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/bun-sqlite.ts:30


optional create?: boolean

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


optional path?: string

Defined in: packages/db-sqlite/src/bun-sqlite.ts:26


optional readonly?: boolean

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


optional readwrite?: boolean

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