mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
docs(client): improve the Client instance example (#2935)
This commit is contained in:
parent
65ca2458fd
commit
92351b5f3e
@ -34,6 +34,7 @@ const { Client } = require('pg')
|
||||
const client = new Client({
|
||||
host: 'my.database-server.com',
|
||||
port: 5334,
|
||||
database: 'database-name',
|
||||
user: 'database-user',
|
||||
password: 'secretpassword!!',
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user