PostgreSQL Driver Config

interface PostgreSQLDriverConfig {
    customPoolConfig: null | PoolConfig;
    database: string;
    host: string;
    password: string;
    port: number;
    prefix: string;
    user: string;
}

Properties

customPoolConfig: null | PoolConfig

If you need to use custom options, like SSL, you can provide them here in place of the above options.

database: string

The Postgres database.

host: string

The host on which to connect to Postgres. Can include a port, like hostname:port.

password: string

The Postgres password.

port: number

The port on which to connect to Postgres.

prefix: string

The Postgres table name prefix.

user: string

The Postgres user.