Hi,
In the following query MATCH (a:A) WHERE ID(a) = 10 AND a.validTo IS NULL MATCH (a)-[r:Relation]->(b:B) WHERE r.validTo IS NULL AND b.validTo IS NULL RETURN a,b
If the second MATCH clause matches nothing, the first MATCH clause will not return the a. So Is it a way for having the value of a, even if the will be no match for b, using only one query?