cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Exists Function

Match (c:Case),(a:Event),(b:Event{activity:'B'})
where not exists((c)<-[:EVENT_TO_CASE]-(a)<-[:DF*..]-(b)) and  a.activity='A'
return distinct c.name

I have this query
I want to get which case name doesn't have a relation between A and B
The query returned no record but there is a case that have no relation between them
what can I do?

1 REPLY 1

Bennu
Graph Fellow

Hi @nesma.zaki ,

You sure you record satisfy the second path condition?

(a)<-[:DF*..]-(b)

Bennu