We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9411f42 commit 8243a42Copy full SHA for 8243a42
README.rst
@@ -28,8 +28,10 @@ Example Usage
28
driver = GraphDatabase.driver("bolt://localhost")
29
session = driver.session()
30
session.run("CREATE (a:Person {name:'Bob'})")
31
- for name, in session.run("MATCH (a:Person) RETURN a.name AS name").records():
32
- print(name)
+ cursor = session.run("MATCH (a:Person) RETURN a.name AS name")
+ while cursor.next()
33
+ print(cursor["name"])
34
+ cursor.close()
35
session.close()
36
37
0 commit comments