Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-15-2020 10:10 AM
I am trying to create a relationship between two nodes in neo4j. And what I am observing is that the relationship is created with a new blank node? Any Idea why it is happening?
06-15-2020 10:24 AM
06-15-2020 10:33 AM
@Cobra The following is my cypher query:
match(cd: Description),(cv: Variety)
where cd.Id = cv.CV_Id_Ref
create (cv)-[r: hasCropDescription]->(cd)
06-15-2020 10:46 AM
Try
MATCH (cd: Description), (cv: Variety)
WHERE cd.Id = cv.CV_Id_Ref
MERGE (cv)-[r: hasCropDescription]->(cd)
Regards,
Cobra
06-15-2020 10:53 AM
@Cobra
Not working with Merge.
Can you explain the scenarios where a blank node is created while creating a relationship between two existing nodes?
06-15-2020 11:05 AM
If a blank node is created, it means that one of the node is not created
Can you show us the content of the nodes with a screenshot from Neo4j Desktop?
All the sessions of the conference are now available online