Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-24-2021 09:02 PM
My Employer wants to see the relationship between two nodes as a node connecting the previous nodes. How do I do that?
Solved! Go to Solution.
02-24-2021 09:52 PM
A match & merge approach should work:
MATCH (a)-[r:existingRelType]->(b)
MERGE (a)-[:newInboundRelType]-(:newRelNode)->[:newOutboundRelType]->(b)
Whether or not newInboundRelType
needs to match newOutboundRelType
or be different would depend on your data model.
02-24-2021 09:52 PM
A match & merge approach should work:
MATCH (a)-[r:existingRelType]->(b)
MERGE (a)-[:newInboundRelType]-(:newRelNode)->[:newOutboundRelType]->(b)
Whether or not newInboundRelType
needs to match newOutboundRelType
or be different would depend on your data model.
02-24-2021 10:39 PM
Thank You So much!!
Solved
All the sessions of the conference are now available online