Created
June 2, 2017 06:58
-
-
Save sitepodmatt/0fea1560d7a107de9789c0518fb2ebe6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return new Promise((resolve, reject) => { | |
this.pool.query(queryStatement, values, (err, results) => { | |
if (err) { | |
return reject(err); | |
} | |
return resolve(results); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment