문제

I want to get the first hop neighbour nodes of some given set of nodes. After getting all the neighbour nodes, i want to get all the relationships existing between these neighbour nodes. I am not able to write cypher query for this.

도움이 되었습니까?

해결책

MATCH (somenode)-->(neighbor)-[r]->(neighborsNeighbor)<--(somenode)
RETURN r
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top