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 a3fca11 commit c02ae04Copy full SHA for c02ae04
docs/source/index.rst
@@ -86,8 +86,8 @@ Example
86
tx.run("MATCH (a:Person {name:'Alice'}) "
87
"MERGE (a)-[:KNOWS]->(x:Person {name:{n}})", {"n": friend})
88
89
- for friend, in session.run("MATCH (a:Person {name:'Alice'})-[:KNOWS]->(x) RETURN x"):
90
- print('Alice says, "hello, %s"' % friend["name"])
+ for record in session.run("MATCH (a:Person {name:'Alice'})-[:KNOWS]->(friend) RETURN friend"):
+ print('Alice says, "hello, %s"' % record["friend"]["name"])
91
92
driver.close()
93
0 commit comments