Hi,

I have graph of flights. I want find all flights between two airports 
without cycles. How can I clean/disable result of cycles = repeated 
sub-paths A-->B-->A-->B.

OK   *A-->B-->A*
NOT OK *A-->B-->A-->B*

MATCH path=(source:Airport)-[flights:FLIGHT*]->(destination:Airport)

Thank you for help

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