Skip to content

Commit 7ce2bc0

Browse files
authored
docs(): update readme.md
1 parent a8c20d9 commit 7ce2bc0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ First install the module via `yarn` or `npm` and do not forget to install the dr
3232

3333

3434
```bash
35-
$ npm i --save nest-postgres pg
35+
$ npm i --save nest-postgres pg
3636
```
3737
or
3838

3939
```bash
40-
$ yarn add nest-postgres pg
40+
$ yarn add nest-postgres pg
4141
```
4242

4343
## Table of Contents
@@ -62,9 +62,9 @@ PostgresModule is the primary entry point for this package and can be used synch
6262
connectionString: 'postgresql://[user]:[password]@[host]/[nameDb]',
6363
// or
6464
// host: 'localhost',
65-
// database: [databaseName],
66-
// password: [passwordDb],
67-
// user: [userDb],
65+
// database: [:databaseName],
66+
// password: [:passwordDb],
67+
// user: [:userDb],
6868
// port: 5432,
6969
}),
7070
],
@@ -81,9 +81,9 @@ or asynchronously
8181
connectionString: 'postgresql://[user]:[password]@[host]/[nameDb]',
8282
// or
8383
// host: 'localhost',
84-
// database: [databaseName],
85-
// password: [passwordDb],
86-
// user: [userDb],
84+
// database: [:databaseName],
85+
// password: [:passwordDb],
86+
// user: [:userDb],
8787
// port: 5432,
8888
}),
8989
}),
@@ -139,9 +139,9 @@ export class UsersController {
139139
connectionString: 'postgresql://postgres:pass123@localhost:5432/nest1',
140140
// or
141141
// host: 'localhost',
142-
// database: [databaseName],
143-
// password: [passwordDb],
144-
// user: [userDb],
142+
// database: [:databaseName],
143+
// password: [:passwordDb],
144+
// user: [:userDb],
145145
// port: 5432,
146146
},
147147
'db1Connection',

0 commit comments

Comments
 (0)