START s=node(0) MATCH p=s-[*]->n WHERE n:label RETURN id(n), n.property ORDER BY length(p) asc
由于有多个到 n 的路径,因此我返回了重复的节点。我怎样才能返回唯一的节点?
neo4j cypher
cypher ×1
neo4j ×1