MATCH (user)-[:PARTICIPATES]->(meeting:Meeting {id: "123"})
RETURN user

This query returns all users participating to the Meeting `123`.

Now I want to return all users participating to the Meeting `123` *ONLY if 
user `456` participates in it*.

So concretely, if user1, user2 and user3 participates to the Meeting `123`, 
I don't want to return them.

However if  user1, *user456* and user3 participates, I want to return all 
of them (since `456` exists).


How could I achieve this query? 
I thought about `WHERE` mixed with `ANY` but didn't succeed.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to