是否可以在CQL / Cypher中使用多个WHERE EXISTS
?
基于OpenStreetMap数据集,如下所示(不允许):
MATCH path=((node_osm)-[t:TAGS]->(node_addr))
WHERE EXISTS(node_osm.`lat`) AND WHERE EXISTS(node_osm.`lon`)
RETURN path
如果我使用它:
WHERE EXISTS(node_osm.`lat`) AND (node_osm.`lon`)
我收到此错误消息:
Don't know how to treat that as a predicate: 4.4732509
如何在Neo4j 3.0.4中使用多个WHERE EXISTS
和CQL / Cypher?
答案 0 :(得分:5)
你试过了吗?
WHERE EXISTS(...) AND EXISTS(...)