Skip to content

Commit 20b829f

Browse files
committed
Updated readme
1 parent 4948a3e commit 20b829f

File tree

2 files changed

+13
-25
lines changed

2 files changed

+13
-25
lines changed

README.md

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -44,30 +44,18 @@ In your file.js, import the dependency and extract the DatabaseConnection.
4444
DatabaseConnection.getInstance(
4545
'default',
4646
true,
47-
{
48-
connectionSettings : {
49-
application_name : '',
50-
min : 0,
51-
max : 1,
52-
host : 'localhost',
53-
port : '5432',
54-
user : 'postgres',
55-
password : 'postgres',
56-
database : 'postgres'
57-
},
58-
readConnectionSettings : {
59-
application_name : '',
60-
min : 0,
61-
max : 1,
62-
host : 'localhost',
63-
port : '5432',
64-
user : 'postgres',
65-
password : 'postgres',
66-
database : 'postgres'
67-
},
68-
enableLogs : false,
69-
camelizeKeys : true
70-
}
47+
connectionSettings : {
48+
application_name : '',
49+
min : 0,
50+
max : 1,
51+
host : 'localhost',
52+
port : '5432',
53+
user : 'postgres',
54+
password : 'postgres',
55+
database : 'postgres'
56+
},
57+
enableLogs : false,
58+
camelizeKeys : true
7159
);
7260
```
7361
<br>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@obi-tec/manager-postgres-database",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "A simple library to help developers to manage connections and queries on postgres database",
55
"main": "src/index.js",
66
"private": false,

0 commit comments

Comments
 (0)