Skip to content

Commit 1e683d7

Browse files
Wisgkorland
Wis
authored andcommitted
fix bug in example (#18)
I think you meant that, which is more logical.
1 parent d91d95e commit 1e683d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ graph
3636
return graph.query("CREATE (:person{name:'amit',age:30})");
3737
})
3838
.then( () => {
39-
return graph.query("MATCH (a:person), (b:person) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[:knows]->(a)")
39+
return graph.query("MATCH (a:person), (b:person) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[:knows]->(b)")
4040
})
4141
.then( () => {
4242
return graph.query("MATCH (a:person)-[:knows]->(:person) RETURN a")

0 commit comments

Comments
 (0)