Skip to content

Commit 92351b5

Browse files
docs(client): improve the Client instance example (brianc#2935)
1 parent 65ca245 commit 92351b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/pages/apis/client.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const { Client } = require('pg')
3434
const client = new Client({
3535
host: 'my.database-server.com',
3636
port: 5334,
37+
database: 'database-name',
3738
user: 'database-user',
3839
password: 'secretpassword!!',
3940
})

0 commit comments

Comments
 (0)