-
Notifications
You must be signed in to change notification settings - Fork 428
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
Prepare queries in mongoose_cluster_id #3098
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3098 +/- ##
=======================================
Coverage 79.02% 79.02%
=======================================
Files 386 386
Lines 31830 31832 +2
=======================================
+ Hits 25153 25155 +2
Misses 6677 6677
Continue to review full report at Codecov.
|
186a80d
to
ad04bc7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to see the prepared queries introduced here. I have a few comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one minor comment from me.
src/mongoose_cluster_id.erl
Outdated
|
||
-spec execute_cluster_insert_new(binary()) -> mongoose_rdbms:query_result(). | ||
execute_cluster_insert_new(ID) -> | ||
mongoose_rdbms:execute(global, cluster_insert_new, [ID]). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please just use execute_successfully in both queries for consistency.
5bb0113
to
ef7ff4d
Compare
ef7ff4d
to
3f4b722
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
No description provided.