Merge two nodes into single node with relations

15 views
Skip to first unread message

Pawan Wagh

unread,
Aug 23, 2017, 10:20:41 AM8/23/17
to Node-Neo4j
Hii,
     My current project runs on neo4j and mongodb as database servers. We are having multiple nodes for single user with multiple bi-directional relations. Now the situation is user can request to claim his profile in which i need to merge all available nodes of user into one node with all existing relations to & from that newly generated node. Label for relations may or may not be known so is there any way of merging multiple nodes into one without knowledge of their relations.Please help or any suggestion on how to achieve this are most welcome.

neo4j version : 3.1.1
backend : nodejs
framework : loopback ( strongloop )


3.1.1
Reply all
Reply to author
Forward
0 new messages