Is it possible to apply DISTINCT on a consolidated list of nodes using 
cypher?

I have the following query: 

MATCH (n:Person)-[:REL1]->(m1), MATCH (n)-[:REL2]-(m2) RETURN m1, m2 


But I want to return DISTINCT(m1+m2) so that only distinct nodes are 
returned from both MATCH. Is it possible?

-- 
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