cypher-shell 的收藏夹?
Neo4j 浏览器一直以来都具有记录收藏夹
的功能,即保存您可能希望在将来运行的 Cypher 的书签。bin\cypher-shell
具有某种类似的功能,因为一旦连接,就可以运行
Connected to Neo4j using Bolt protocol version 4.2 at neo4j://localhost:7687 as user neo4j. Type :help for a list of available commands or :exit to exit the shell. Note that Cypher queries must end with a semicolon. neo4j> :source favorite1.cyp
这将导致 cypher-shell 运行在favorite1.cyp
中定义的所有 Cypher 语句。请注意,您可以完全限定文件名,因此
neo4j> :source /home/neo4j/favorites/fav1.cyp
这将导致 cypher-shell 执行在/home/neo4j/favorites
中名为fav1.cyp
的文件中的所有 Cypher 语句。
此页面是否有帮助?