Add syntax highlighting to code block in README (#42)

This commit is contained in:
Shakeel Mohamed 2017-03-06 09:47:30 -08:00 committed by Brian C
parent ab70f57923
commit 2aed8bf7b3

View File

@ -188,7 +188,7 @@ await pool.end()
The pool should be a __long-lived object__ in your application. Generally you'll want to instantiate one pool when your app starts up and use the same instance of the pool throughout the lifetime of your application. If you are frequently creating a new pool within your code you likely don't have your pool initialization code in the correct place. Example:
```
```js
// assume this is a file in your program at ./your-app/lib/db.js
// correct usage: create the pool and let it live