Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientConfig incorrectly specified #64

Open
DanielAsher opened this issue Mar 7, 2020 · 0 comments
Open

ClientConfig incorrectly specified #64

DanielAsher opened this issue Mar 7, 2020 · 0 comments

Comments

@DanielAsher
Copy link

https://github.com/brianc/node-postgres-docs/blame/master/content/api/2-client.mdx#L13
looks to be out of date and thus confusing. @types/pg contain this spec:

export interface ClientConfig {
    user?: string;
    database?: string;
    password?: string;
    port?: number;
    host?: string;
    connectionString?: string;
    keepAlive?: boolean;
    stream?: stream.Duplex;
    statement_timeout?: false | number;
    ssl?: boolean | ConnectionOptions;
    query_timeout?: number;
    keepAliveInitialDelayMillis?: number;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant