Multiple unrelated queries in Neo4j Cypher?

前端 未结 4 1092
难免孤独
难免孤独 2020-12-08 15:57

Does http://localhost:7474/browser/ not support multiple unrelated queries?

This code:

MATCH (a {cond:\'1\'}), (b {cond:\'x\'}) CREATE          


        
4条回答
  •  攒了一身酷
    2020-12-08 16:18

    You can send multiple queries to Neo4j via the cypher-shell command line tool:

    cypher-shell --format plain < query.txt
    

    where query.txt contains multiple independent queries separated by semi-colons. This also works interactively once you have started cypher-shell.

提交回复
热议问题