mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
git-subtree-dir: packages/pg-connection-string git-subtree-mainline: 35328807e3612cb267bee86dccb2551ad186624a git-subtree-split: 5233b3e77e396a368130709e762fca836290a528
15 lines
354 B
TypeScript
15 lines
354 B
TypeScript
export function parse(connectionString: string): ConnectionOptions;
|
|
|
|
export interface ConnectionOptions {
|
|
host: string | null;
|
|
password?: string;
|
|
user?: string;
|
|
port?: string | null;
|
|
database: string | null | undefined;
|
|
client_encoding?: string;
|
|
ssl?: boolean | string;
|
|
|
|
application_name?: string;
|
|
fallback_application_name?: string;
|
|
}
|