how to get all related nodes idetails based on node id?

陌路散爱 提交于 2020-04-18 03:42:08

问题


I want to fetch all the connected nodes based on the node id.

e.g: In the below image if I send id: 0 then I need all the nodes and edges related to that. i.e 0,1 and 2.

I am using Match (n)-[r]-() return n,r to fetch all the nodes from the db.

How can I specify the id of the nodes to get all the related nodes information

来源:https://stackoverflow.com/questions/60650902/how-to-get-all-related-nodes-idetails-based-on-node-id

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!