-
Notifications
You must be signed in to change notification settings - Fork 149
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
Updates to the Readme File #1259
base: 5.0
Are you sure you want to change the base?
Conversation
MaxAake
commented
Feb 18, 2025
- Replaces session.run() with driver.executeQuery() as the default function on example code.
- Adds explanations of session.run() and driver.executeQuery()
- Adds ES6 import syntax.
// | ||
var executeQueryResultPromise = driver | ||
.executeQuery( | ||
"MATCH (alice:Person {name: $nameParam}) RETURN alice.DOB AS DateOfBirth", |
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.
Why was the attribute change (but only for this query)? (Not a blocker)
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.
I felt the mix of alice:Person
and nameParam: 'Alice'
was confusing, but I didn't end up making the same changes everywhere. I agree the single fix is an odd choice