【发布时间】:2014-10-29 15:46:38
【问题描述】:
我有
MATCH (x)-[rels*]->(y)
RETURN extract( r in rels | r.property) as collected
其中collected 是路径上所有关系的属性的集合,例如[null, 4, null, 4] 或[1, 3, 3, 1]。
我怎样才能进一步从collected 中仅提取其唯一值?
例如,[null, 4, null, 4] 将更改为 [null, 4]
【问题讨论】: