Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这个查询: match path = (test:Test {t_name:"Test-1"})-[r*]->(child) return path
Json 响应:结果 [1] - 列 [1] - 0:路径 - 数据 [6] - 行 [1] - 元 [1] - 图 - 节点 [2] - 关系 [1]
Neoism 中如何解析这个查询结果?我想获取响应结果中的节点和关系。
您始终可以从查询本身返回这些,而不是路径:
... return nodes(path) as nodes, relationships(path) as relationships