The browser only supports one cypher query at a time

if you want to do multiple semicolon separated queries use the neo4j-shell 
(bin/neo4j-shell) or http://www.squireapp.com/

Michael

Am 12.04.2014 um 19:22 schrieb Kevin Burton <[email protected]>:

> I am issuing the following Cypher query and getting a syntax error:
> 
> CREATE INDEX ON :Presentation(Id);
> CREATE CONSTRAINT (p:Presentation) assert p.Id IS UNIQUE;
> 
> The details of the syntax error is that there is an invalid input 'C'. I am 
> thinking that as a workaround I need to issue these commands separately. How 
> in general would I format this string so that esssentialy I have a script 
> where one command/query is processed after another. I am using Node-Neo4j if 
> there is special processing involved.
> 
> Thank you.
> 
> Kevin
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to