Hello,
I am following the Beer Post Method from the blog Neo4j.
So far i tested my Cypher query with my data in Neo4j Cypher Console.
But now i would like to import my nodes/edges in Neo4j on local Server and because with long cypher query on the Neo4j Console it bugs when your rquery is too big
I would like to use a Transaction with [Begin and Commit] to generate all nodes and edges.
But when i test with a dummy request picked from an exemple on the web (just before to use with my query) i got the below Error message
- neo4j-sh (0)$ BEGIN CREATE (m{n:'m', d:'3'}), (f0{n:'f0', d:'2'}), m-[:so]->f0; commit exit
- ==> Error: To open a transaction, write BEGIN TRANSACTION
So i try the same example with BEGIN TRANSACTION
- neo4j-sh (0)$ BEGIN TRANSACTION CREATE (m{n:'m', d:'3'}), (f0{n:'f0', d:'2'}), m-[:so]->f0; commit exit
- ==> Error: To open a transaction, write BEGIN TRANSACTION
But still the same problem...
Could someone tell me what is the right syntax to use this kind of transaction ?
Thank you.
Filip