cypher-shell 的收藏?
The Neo4j Browser has always had the ability to record favorites, i.e. a bookmark to saved cypher that you may want to run sometime in the future. bin\cypher-shell has somewhat similar functionality in that once connected one can run
Connected to Neo4j using Bolt protocol version 4.2 at neo4j://: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 语句
此页面有帮助吗?