MATCH p=(n)-[r*..1]-(e) with reduce(temp=0,data in r | data.label) as label, p as p WHERE n.disabled='0' and label = 'retation' RETURN p
其中label即为关系r上的属性
MATCH p=(n)-[r*..1]-(e) with reduce(temp=0,data in r | data.label) as label, p as p WHERE n.disabled='0' and label = 'retation' RETURN p
其中label即为关系r上的属性