为啥neo4j查询路径使用with之后返回了一大堆重复的?
MATCH path = (a)<–>(o) WHERE id(a) = 1 with path as paths,nodes(path) as nodes match p=©–(d) where (id(d) in [3,21,4,39,2]) and c in nodes RETURN paths,p 这样查询返回了好多条重复的路径
MATCH path = (a)<–>(o) WHERE id(a) = 1 with path as paths,nodes(path) as nodes match p=©–(d) where (id(d) in [3,21,4,39,2]) and c in nodes RETURN paths,p 这样查询返回了好多条重复的路径