neo4j find all nodes with matching properties

后端 未结 7 2039
走了就别回头了
走了就别回头了 2020-12-30 04:15

I have a relatively large set of nodes, and I want to find all pairs of nodes that have matching property values, but I don\'t know or care in advance what the property valu

7条回答
  •  借酒劲吻你
    2020-12-30 04:40

    With Neo4j 3.3.4 you can simply do the following:

    MATCH (n) where EXISTS(n.propertyName) return n

    Simply change propertyName to whatever property you are looking to find.

提交回复
热议问题