PgDatabaseOptions
Defined in: packages/db-postgres/src/pg.ts:28
Options for creating a node-postgres-backed DatabaseAdapter.
When client (a Pool, Client, 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 IAM token refresh,
Cloud SQL connectors, and hermetic tests.
Properties
Section titled “Properties”client?
Section titled “client?”
optionalclient?:Pool|Client|PoolClient
Defined in: packages/db-postgres/src/pg.ts:35
connectionString?
Section titled “connectionString?”
optionalconnectionString?:string
Defined in: packages/db-postgres/src/pg.ts:30
connectionTimeoutMillis?
Section titled “connectionTimeoutMillis?”
optionalconnectionTimeoutMillis?:number
Defined in: packages/db-postgres/src/pg.ts:34
idleTimeoutMillis?
Section titled “idleTimeoutMillis?”
optionalidleTimeoutMillis?:number
Defined in: packages/db-postgres/src/pg.ts:33
optionalmax?:number
Defined in: packages/db-postgres/src/pg.ts:32
optionalssl?:unknown
Defined in: packages/db-postgres/src/pg.ts:31
optionalurl?:string
Defined in: packages/db-postgres/src/pg.ts:29