We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
database
1 parent 2e179fc commit 1f9b386Copy full SHA for 1f9b386
content/api/2-client.mdx
@@ -14,7 +14,7 @@ config = {
14
user?: string, // default process.env.PGUSER || process.env.USER
15
password?: string or function, //default process.env.PGPASSWORD
16
host?: string, // default process.env.PGHOST
17
- database?: string, // default process.env.PGDATABASE || process.env.USER
+ database?: string, // default process.env.PGDATABASE || user
18
port?: number, // default process.env.PGPORT
19
connectionString?: string, // e.g. postgres://user:password@host:5432/database
20
ssl?: any, // passed directly to node.TLSSocket, supports all tls.connect options
0 commit comments