Skip to content

Commit 36d50ec

Browse files
authored
Merge pull request #1 from jrf0110/patch-1
Demonstrate that pg-pool exports Pool constructor
2 parents d735385 + d42770a commit 36d50ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ npm i pg-pool pg
1313
to use pg-pool you must first create an instance of a pool
1414

1515
```js
16+
const Pool = require('pg-pool')
17+
1618
//by default the pool uses the same
1719
//configuration as whatever `pg` version you have installed
1820
const pool = new Pool()

0 commit comments

Comments
 (0)