@@ -32,12 +32,12 @@ First install the module via `yarn` or `npm` and do not forget to install the dr
32
32
33
33
34
34
``` bash
35
- $ npm i --save nest-postgres pg
35
+ $ npm i --save nest-postgres pg
36
36
```
37
37
or
38
38
39
39
``` bash
40
- $ yarn add nest-postgres pg
40
+ $ yarn add nest-postgres pg
41
41
```
42
42
43
43
## Table of Contents
@@ -62,9 +62,9 @@ PostgresModule is the primary entry point for this package and can be used synch
62
62
connectionString: ' postgresql://[user]:[password]@[host]/[nameDb]' ,
63
63
// or
64
64
// host: 'localhost',
65
- // database: [databaseName],
66
- // password: [passwordDb],
67
- // user: [userDb],
65
+ // database: [: databaseName],
66
+ // password: [: passwordDb],
67
+ // user: [: userDb],
68
68
// port: 5432,
69
69
}),
70
70
],
@@ -81,9 +81,9 @@ or asynchronously
81
81
connectionString: ' postgresql://[user]:[password]@[host]/[nameDb]' ,
82
82
// or
83
83
// host: 'localhost',
84
- // database: [databaseName],
85
- // password: [passwordDb],
86
- // user: [userDb],
84
+ // database: [: databaseName],
85
+ // password: [: passwordDb],
86
+ // user: [: userDb],
87
87
// port: 5432,
88
88
}),
89
89
}),
@@ -139,9 +139,9 @@ export class UsersController {
139
139
connectionString: ' postgresql://postgres:pass123@localhost:5432/nest1' ,
140
140
// or
141
141
// host: 'localhost',
142
- // database: [databaseName],
143
- // password: [passwordDb],
144
- // user: [userDb],
142
+ // database: [: databaseName],
143
+ // password: [: passwordDb],
144
+ // user: [: userDb],
145
145
// port: 5432,
146
146
},
147
147
' db1Connection' ,
0 commit comments