Skip to content

Commit

Permalink
feat: PG allow providing a function for password (typeorm#5673)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiet480 authored and Svetlozar committed Jan 12, 2021
1 parent 9775737 commit f55e3b6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@ export interface PostgresConnectionCredentialsOptions {
/**
* Database password.
*/
readonly password?: string;
readonly password?: string | (() => string) | (() => Promise<string>);

/**
* Database name to connect to.
Expand Down

0 comments on commit f55e3b6

Please sign in to comment.