Hi,

how can I put the condition "relationship between two nodes" in the 
WHERE clause of a Cypher statement?

I have the following Cypher (simplified):

START p=...
MATCH p-...path...->(d1), p-...differentpath...->(d2)

and I only want those d1 and d2 nodes that have a relationship.

I tried
MATCH p-...path...->(d1), p-...differentpath...->(d2)--(d1)

which is - of course - not working and I could not find anything in the 
documentation.

To be honest I even need to specify the relationship type between d2 and 
d1...

Thanks,

Didi
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to