Skip to content

Commit de56ac6

Browse files
Added host to client config (#81)
* Added host to client config * Update 2-client.mdx
1 parent b60cf8d commit de56ac6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/api/2-client.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Every field of the `config` object is entirely optional. A `Client` instance wil
1313
config = {
1414
user?: string, // default process.env.PGUSER || process.env.USER
1515
password?: string, //default process.env.PGPASSWORD
16+
host?: string, // default process.env.PGHOST
1617
database?: string, // default process.env.PGDATABASE || process.env.USER
1718
port?: number, // default process.env.PGPORT
1819
connectionString?: string, // e.g. postgres://user:password@host:5432/database

0 commit comments

Comments
 (0)