Skip to content

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

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.

2 participants