you cannot use comma with merge
you have to do individual statements

> MATCH (pv:PageValidation {id: 3}),(pd:PageDefinition {id: 
> 111}),(v:ValidationRule {id: 9}) 
> MERGE (pv)-[:REFERENCE]->(pd) 
> MERGE (v)-[:REFERENCE]->(pv)


Michael

> Am 05.01.2016 um 23:07 schrieb Kevin Burton <[email protected]>:
> 
> I think I need another set of eyes to see what is wrong with this query.
> 
> [Neo.ClientError.Statement.InvalidSyntax] Invalid input ',': expected 
> whitespace, a relationship pattern, ON, LOAD CSV, START, MATCH, UNWIND, 
> MERGE, CREATE, SET, DELETE, REMOVE, FOREACH, WITH, RETURN, UNION, ';' or end 
> of input (line 1, column 121 (offset: 120))
> "MATCH (pv:PageValidation {id: 3}),(pd:PageDefinition {id: 
> 111}),(v:ValidationRule {id: 9}) MERGE 
> (pv)-[:REFERENCE]->(pd),(v)-[:REFERENCE]->(pv)"
>                                                                               
>                                            ^
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <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