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 7743473 commit 20cbad8Copy full SHA for 20cbad8
README.rst
@@ -16,11 +16,11 @@ Quick Example
16
17
def add_friends(tx, name, friend_name):
18
tx.run("MERGE (a:Person {name: $name}) "
19
- "MERGE (a)-[:KNOWS]->(friend:Person {name: $friend_name}})",
+ "MERGE (a)-[:KNOWS]->(friend:Person {name: $friend_name})",
20
name=name, friend_name=friend_name)
21
22
def print_friends(tx, name):
23
- for record in tx.run("MATCH (a:Person)-[:KNOWS]->(friend) WHERE a.name = $name} "
+ for record in tx.run("MATCH (a:Person)-[:KNOWS]->(friend) WHERE a.name = $name "
24
"RETURN friend.name ORDER BY friend.name", name=name):
25
print(record["friend.name"])
26
0 commit comments