neo4j browser paste multiple commands

Viewed 2903

I'm trying to cut and paste multiple commands into the Neo4j browser. When I paste and individual command it works fine. When I paste multiple command sets all terminated by a ; I encounter errors.

The commands are for example as follows:

start n1=node:node_auto_index(id='1000038'),n2=node:node_auto_index(id='M5') create n1-    
[:STUDIES]->n2;
start n1=node:node_auto_index(id='1000039'),n2=node:node_auto_index(id='M7') create n1-   
[:STUDIES]->n2;

I get this error:

Invalid input 's': expected whitespace, comment or end of input (line 2, column 1)
"start n1=node:node_auto_index(id='1000040'),n2=node:node_auto_index(id='M15') create   
n1-[:STUDIES]->n2;"
 ^

Any help would be greatly appreciated.

2 Answers
Related