node-sqlite3
node-sqlite3 copied to clipboard
Use util.promisify.custom to improve promisify support of db.run()
Fixes #658
Currently, promisifying db.run() results in a loss of information of lastID and changes.
In this PR, I customized the promisification of db.run() using util.promisify.custom to solve the problem.
It is likely that the build fails due to https://github.com/nodejs/node-gyp/issues/1933
@kimamula Would you mind rebasing on top of master so CI can be run? 🙂