-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
support cypher parameter(variable) #3379
Conversation
b580610
to
7108b62
Compare
37fcf81
to
5a2f6ad
Compare
36b147f
to
5a7bb86
Compare
4c6ddb3
to
0090632
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.
If we really decide to unify variables and parameters, this PR is ok to me.
folly::Future<ExecutionResponse> GraphService::future_executeWithParameter( | ||
int64_t sessionId, | ||
const std::string& query, | ||
const std::unordered_map<std::string, Value>& parameterMap) { |
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.
Could we unify future_executeWithParameter
and future_execute
? They share almost the same code.
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.
After nebula-python's pr been merged.
8412d5c
to
8edc63d
Compare
Codecov Report
@@ Coverage Diff @@
## master #3379 +/- ##
==========================================
- Coverage 85.19% 85.19% -0.01%
==========================================
Files 1306 1307 +1
Lines 122158 122238 +80
==========================================
+ Hits 104078 104139 +61
- Misses 18080 18099 +19
Continue to review full report at Codecov.
|
What type of PR is this?
What does this PR do?
Support cypher parameter with ngql variable.
Which issue(s)/PR(s) this PR relates to?
#2593
Checklist:
Release notes:
Support for parameterized statement must be added to the release notes.