node-postgres/index.d.ts
2017-12-13 11:23:28 +02:00

15 lines
356 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 | undefined;
ssl?: boolean;
application_name?: string;
fallback_application_name?: string;
}