Skip to content

Commit 9a6d9b4

Browse files
committed
Fix error in examples code in README.md
1 parent 2514db2 commit 9a6d9b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ session
7575

7676
//run statement in a transaction
7777
var tx = session.beginTransaction();
78-
tx.run("CREATE (alice {name : {nameParam} })", { nameParam:'Alice'}");
79-
tx.run("MATCH (alice {name : {nameParam} }) RETURN alice.age", { nameParam:'Alice'}");
78+
tx.run("CREATE (alice {name : {nameParam} })", { nameParam:'Alice' });
79+
tx.run("MATCH (alice {name : {nameParam} }) RETURN alice.age", { nameParam:'Alice' });
8080
//decide if the transaction should be committed or rolled back
8181
var success = ...
8282
...

0 commit comments

Comments
 (0)