Merge pull request #1 from jrf0110/patch-1

Demonstrate that pg-pool exports Pool constructor
This commit is contained in:
Brian C 2016-06-10 21:52:43 -05:00 committed by GitHub
commit 36d50eceee

View File

@ -13,6 +13,8 @@ npm i pg-pool pg
to use pg-pool you must first create an instance of a pool
```js
const Pool = require('pg-pool')
//by default the pool uses the same
//configuration as whatever `pg` version you have installed
const pool = new Pool()