MATCH (:switch) -[rel:flow]-> (:switch)
WITH rel.cookie as affected_cookie, COUNT(rel.cookie) as cookie_num
WHERE cookie_num > 1
MATCH (:switch) -[rel2:flow]-> (:switch)
WHERE rel2.cookie = affected_cookie
RETURN affected_cookie, rel2.flowid as affected_flow_id
Add neo4j raw query that helps verify that we have no duplicated cookies
Add neo4j raw query that helps verify that we have no duplicated cookies
