Commit facadbf2 authored by ganjingcun's avatar ganjingcun

asd

parent 452a580c
...@@ -278,8 +278,7 @@ router.get('/users', function (req, res) { ...@@ -278,8 +278,7 @@ router.get('/users', function (req, res) {
}); });
router.get('/history', function(req,res) { router.get('/history', function(req,res) {
// to run a query we c // to run a query we can acquire a client from the pool,
an acquire a client from the pool,
// run a query on the client, and then return the client to the pool // run a query on the client, and then return the client to the pool
pool.connect(function (err, client, done) { pool.connect(function (err, client, done) {
if (err) { if (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment