This is my first post. So please take it easy on me if the question does not make sense.
I am running Neo4j community 4.0.3. I create a Cypher query that looks like:
OPTIONAL MATCH (a)-[r1]->(b)
I want the query to return all a's regardless if b is linked to some c or not. But only return the b's which are linked to c.
But the query above is not returning a's for which b exists but c does not.
This is the actual query I am trying to run:
OPTIONAL MATCH (rtc_merged_Defect1)
OPTIONAL MATCH (rtc_merged_Defect1_filedAgainst)
// here is the problematic MATCH that causes less rtc_merged_Defect1's to be returned.