node-pg-query icon indicating copy to clipboard operation
node-pg-query copied to clipboard

Make query.first return a promise when no callback is specified

Open lukehorvat opened this issue 9 years ago • 1 comments

I use pg-query mostly inside promise chains, and was a little surprised to learn that query.first does not return a promise when no callback is passed. So I've added that feature in. :sunglasses:

lukehorvat avatar May 18 '15 06:05 lukehorvat

Bump. @brianc any chance you can look at this?

lukehorvat avatar Aug 31 '16 05:08 lukehorvat