0
我更新了與屬性Expirydate
的關係。我想排除遍歷路徑中的所有過期關係。查詢條件是通過路徑中的所有關係檢查Expirydate
。我得到的錯誤:Neo4j Cypher查詢多個關係的屬性
==> SyntaxException: ==> ==> Think we should have better error message here? Help us by sending this query to [email protected]
下面是該查詢:
START sNode=node(530)
MATCH sNode-[r:hasRegisteredPlate|inHouseHoldWith*1..2]->eNode
WHERE eNode.NodeType = "Plate" and (rel in r:(not has(rel.ExpiryDate) or
(has(rel.ExpiryDate) and (rel.ExpiryDate<>'' or rel.ExpiryDate >'2013-10-04'))))
RETURN eNode LIMIT 20
任何幫助深表感謝