Skip to content

Type Alias: PostgresMutexConnection ​

PostgresMutexConnection = object

The PostgreSQL connection of a PostgresMutexDriver.

Properties ​

database ​

database: string

The database holding the locks (and the table of the table mode).


host ​

host: string

The host name or IP address of the server.


password ​

password: string

The password.


port? ​

optional port?: number

The port of the server.

Default ​

ts
5432

ssl? ​

optional ssl?: boolean

Whether to connect with TLS (ssl: true given to pg, which verifies the server certificate).

Default ​

ts
false

username ​

username: string

The user name.

Released under the MIT License.