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

remove bluebird.each #3471

Merged
merged 3 commits into from Oct 12, 2019
Merged

remove bluebird.each #3471

merged 3 commits into from Oct 12, 2019

Conversation

maximelkin
Copy link
Collaborator

@maximelkin maximelkin commented Oct 8, 2019

closes #3256

@kibertoad kibertoad closed this Oct 9, 2019
@kibertoad kibertoad reopened this Oct 9, 2019
@maximelkin
Copy link
Collaborator Author

@kibertoad maybe its better to merge all prs in one?

@@ -128,7 +129,7 @@ Client_Oracledb.prototype.acquireRawConnection = function() {
});
});
};
const fetchAsync = function(sql, bindParams, options, cb) {
const fetchAsync = promisify(function(sql, bindParams, options, cb) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this function use any closure variables, or it can be moved outside to only be promisified once?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function use connection from outside

@kibertoad
Copy link
Collaborator

@maximelkin Keeping PRs separate makes them easier to review :)

@kibertoad kibertoad merged commit 4a71315 into knex:master Oct 12, 2019
@maximelkin maximelkin deleted the bluebird_remove_each branch October 12, 2019 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bluebird] Remove Promise.each usage
2 participants