Demonstrate that pg-pool exports Pool constructor

This commit is contained in:
John Fawcett 2016-06-10 21:25:56 -05:00 committed by GitHub
parent d73538550c
commit d42770ae2c

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()