We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2fa25d commit a5926d3Copy full SHA for a5926d3
src/Adapters/Storage/Postgres/PostgresClient.js
@@ -1,11 +1,9 @@
1
-const parser = require('./PostgresConfigParser');
2
-
3
export function createClient(uri, databaseOptions) {
4
- let dbOptions = {};
+ const dbOptions = {};
5
databaseOptions = databaseOptions || {};
6
7
if (uri) {
8
- dbOptions = parser.getDatabaseOptionsFromURI(uri);
+ dbOptions.connectionString = uri;
9
}
10
11
for (const key in databaseOptions) {
0 commit comments