You can use the apoc procedures with apoc.refactor.mergeNode([nodes]) https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_graph_refactoring_2
Michael On Wed, Aug 23, 2017 at 4:22 PM, Pawan Wagh <[email protected]> wrote: > 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 ) > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
