Skip to content

NeonDatabaseOptions

Defined in: packages/db-postgres/src/neon.ts:26

Options for creating a Neon-backed DatabaseAdapter.

When client (a Pool or PoolClient) is supplied, all other connection options are ignored and the caller owns the lifecycle of the client (teardown is a no-op). This is the hook for custom WebSocket constructors and hermetic tests.

optional client?: Pool | PoolClient

Defined in: packages/db-postgres/src/neon.ts:29


optional connectionString?: string

Defined in: packages/db-postgres/src/neon.ts:28


optional url?: string

Defined in: packages/db-postgres/src/neon.ts:27