Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-16-2018 12:59 PM
Why does the returned nodes show a directed relationship when the relationship is not directed actually ?
match (p)-[:KNOWS]-(k:Person{name:"Keanu Reeves"})
return p, k
limit 5
Solved! Go to Solution.
09-16-2018 07:00 PM
You misunderstand here, all relationships have a direction, there is no such thing as an undirected relationship in Neo4j, and results will show the direction of the relationships returned.
When you omit the direction of a relationship when you query, you're saying that the direction of the relationship is not a factor in the pattern to match, allowing the match to apply no matter the direction of the relationship.
09-16-2018 07:00 PM
You misunderstand here, all relationships have a direction, there is no such thing as an undirected relationship in Neo4j, and results will show the direction of the relationships returned.
When you omit the direction of a relationship when you query, you're saying that the direction of the relationship is not a factor in the pattern to match, allowing the match to apply no matter the direction of the relationship.
All the sessions of the conference are now available online