MATCH p=(v)-[*1..10]-(m)
where id(v)=="host001" and all( midNode in [n in nodes(p) where id(n)<>id(v) | n] where "frontPort" not in tags(midNode))
RETURN p
1 个赞
MATCH p=(v)-[*1..10]-(m)
where id(v)=="host001" and all( midNode in [n in nodes(p) where id(n)<>id(v) | n] where "frontPort" not in tags(midNode))
RETURN p