neo4j 双列表匹配

查询语句:

match p=(nn:Package{packageID:"antlr@@3.4.1"})-[r:Target_To*4..6]->(m:Package)
where all(r_child in r where any(a in r_child.targetFramework where a contains ".NETFramework"  or a.targetFramework in [".NETStandard1.1",".NETStandard1.0"]))
 and not (m)-[]->() and all (mm in nodes(p) where mm.isPrerelease ="False")
 RETURN reduce(node_ids = [], n IN nodes(p) | node_ids + [n]) as result limit 2000

 

posted @ 2022-07-18 15:04  博二爷  阅读(36)  评论(0编辑  收藏  举报