NEO4J execute severals statement -
how it's possible run collection of query (came spreadsheet copy) directly in 1 cypher query? 1 one it's ok, need 100 copy/paste
******************************* match (c:`alpha`) c.name = "a-01" set c.cp_pri=1, c.to_pri=1, c.ta_pri=2 return c ; match (c:`beta`) c.name = "a-02" set c.cp_pri=1, c.to_pri=1, c.ta_pri=0 return c ; , 100 other lines ... *********************************
you may try 'union' clause, joins results of queries 1 big-honkin result set:
http://docs.neo4j.org/chunked/milestone/query-union.html
that said - root behavior of trying use details - maybe there's better way write query - use excel 'build' unified query via calculations / macros, possibly write unified query combines rules trying follow, there's lot of options, it's hard know starting direction w/o context....
Comments
Post a Comment