Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
from

Conversation

@kimamula
Copy link

kimamula commented Oct 27, 2019

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 kimamula force-pushed the kimamula:improve-promisify-db-run branch from 8b2e944 to 3d3faaa Oct 27, 2019
@kimamula
Copy link
Author

kimamula commented Oct 27, 2019

It is likely that the build fails due to nodejs/node-gyp#1933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant
You can’t perform that action at this time.