Skip to content

Interface: PostgreSQLConnectionObject

A configuration object for connecting to a PostgreSQL database.

Properties

PropertyTypeDescription
database?stringThe name of the database to connect to.
host?stringThe host of the PostgreSQL server.
password?stringThe password for the user.
port?numberThe port of the PostgreSQL server.
ssl?anyOptional SSL configuration for the connection.
user?stringThe username to connect to the database.