Skip to content

Updates to the Readme File #1259

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 10 commits into
base: 5.0
Choose a base branch
from
Open

Updates to the Readme File #1259

wants to merge 10 commits into from

Conversation

MaxAake
Copy link
Contributor

@MaxAake 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.

@MaxAake MaxAake changed the title Updates to the Readme FIle Updates to the Readme File Feb 19, 2025
//
var executeQueryResultPromise = driver
.executeQuery(
"MATCH (alice:Person {name: $nameParam}) RETURN alice.DOB AS DateOfBirth",
Copy link
Member

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)

Copy link
Contributor Author

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants