Skip to content

Commit 265d1ae

Browse files
authored
feat: PG allow providing a function for password (#5673)
1 parent 2066734 commit 265d1ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/driver/postgres/PostgresConnectionCredentialsOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export interface PostgresConnectionCredentialsOptions {
2828
/**
2929
* Database password.
3030
*/
31-
readonly password?: string;
31+
readonly password?: string | (() => string) | (() => Promise<string>);
3232

3333
/**
3434
* Database name to connect to.

0 commit comments

Comments
 (0)