查询中的关系模式正在发生变化,但缺少文档。编写此查询时,我收到“待折旧”消息:
match path = (p:Person)-[r:father|mother*0..5]->(a:Person)
return path limit 25
我如何写这个来确认新的要求?
它需要是这样的,但父亲|母亲*0..5 的某些部分移入了关系(路径)
match path = (p:Person)-[r:father|mother*0..5]->(a:Person)
with *, relationships(path) as r
return path limit 25
该查询运行正常,但错误消息仍然存在。
什么是正确的新格式?