NEO4J Cypher Query: Relationship Direction Bug in Where Clause
问题 Sample Data: Sample Query CREATE (a1:A {title: "a1"}) CREATE (a2:A {title: "a2"}) CREATE (a3:A {title: "a3"}) CREATE (b1:B {title: "b1"}) CREATE (b2:B {title: "b2"}) MATCH (a:A {title: "a1"}), (b:B {title: "b1"}) CREATE (a)-[r:LINKS]->(b) MATCH (a:A {title: "a2"}), (a1:A {title: "a1"}) CREATE (a)-[:CONNECTED]->(a1) MATCH (a:A), (b:B) return a,b Objective: Finding some connections in the where clause Now lets write some variations to find A's not directly connected to B (a2 and b3) // Q1. Both