node-sqlite3 icon indicating copy to clipboard operation
node-sqlite3 copied to clipboard

Use util.promisify.custom to improve promisify support of db.run()

Open kimamula opened this issue 6 years ago • 2 comments

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.

kimamula avatar Oct 27 '19 07:10 kimamula

It is likely that the build fails due to https://github.com/nodejs/node-gyp/issues/1933

kimamula avatar Oct 27 '19 09:10 kimamula

@kimamula Would you mind rebasing on top of master so CI can be run? 🙂

daniellockyer avatar Apr 17 '22 07:04 daniellockyer