Closed JMurrin closed 4 years ago
You would use either
const client = new Client({
host: 'my.database-server.com',
port: 5334,
user: 'database-user',
password: 'secretpassword!!',
})
or
const client = new Client({
connectionString: 'postgres://user:password@host:port/database',
})
but not both.
Hey Brian,
I noticed a slight documentation error with your client example and attached my proposed fix below it. Current:
Fix:
Hope this helps!