Skip to content

Commit 6198820

Browse files
Kakimoty-Fielddaichi_kakimoto
andauthored
Added function to password property type of config (#139)
Co-authored-by: daichi_kakimoto <[email protected]>
1 parent eabf9c3 commit 6198820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/api/2-client.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Every field of the `config` object is entirely optional. A `Client` instance wil
1212
```flow
1313
config = {
1414
user?: string, // default process.env.PGUSER || process.env.USER
15-
password?: string, //default process.env.PGPASSWORD
15+
password?: string or function, //default process.env.PGPASSWORD
1616
host?: string, // default process.env.PGHOST
1717
database?: string, // default process.env.PGDATABASE || process.env.USER
1818
port?: number, // default process.env.PGPORT

0 commit comments

Comments
 (0)