I am trying to create multiple nodes with mutating Cypher. Neo4J isn't happy with my queries and returns 400s.
Some variations on my query that I have tried:
foreach(n in {xs} : CREATE {n})
foreach(n in {xs} : CREATE a = {n} RETURN n)
where xs is a list of maps. Is what I am trying to do possible with mutating Cypher?
The exception trace in the server log says
«string matching regex `(?i)\\bstart\\b' expected but `f' found\nUnfortunately, you have run into a syntax error that we don't have a nice message for.\nBy sending the query that produced this error to cyp...@neo4j.org, you'll save the\npuppies and get better error messages in our next release.»
I am more interested in learning if what I am doing is possible than saving puppies so I decided to ask here.
> I am trying to create multiple nodes with mutating Cypher. Neo4J isn't happy with my queries and returns 400s.
> Some variations on my query that I have tried:
> foreach(n in {xs} : CREATE {n})
> foreach(n in {xs} : CREATE a = {n} RETURN n)
> where xs is a list of maps. Is what I am trying to do possible with mutating Cypher?
> The exception trace in the server log says
> «string matching regex `(?i)\\bstart\\b' expected but `f' found\nUnfortunately, you have run into a syntax error that we don't have a nice message for.\nBy sending the query that produced this error to cyp...@neo4j.org, you'll save the\npuppies and get better error messages in our next release.»
> I am more interested in learning if what I am doing is possible than saving puppies so I decided to ask here.