MCPcopy
hub / github.com/brianc/node-postgres / ConnectionOptions

Interface ConnectionOptions

packages/pg-connection-string/index.d.ts:17–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17export interface ConnectionOptions {
18 host: string | null
19 password?: string
20 user?: string
21 port?: string | null
22 database: string | null | undefined
23 client_encoding?: string
24 ssl?: boolean | string | SSLConfig
25 sslnegotiation?: 'postgres' | 'direct'
26
27 application_name?: string
28 fallback_application_name?: string
29 options?: string
30 keepalives?: number
31
32 // We allow any other options to be passed through
33 [key: string]: unknown
34}
35
36export function toClientConfig(config: ConnectionOptions): ClientConfig
37export function parseIntoClientConfig(connectionString: string): ClientConfig

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected