问题
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