Skip to content

Commit d42770a

Browse files
authored
Demonstrate that pg-pool exports Pool constructor
1 parent d735385 commit d42770a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)