1
的Cypher查询:替代关系弃用警告
MATCH (x) WHERE x.uuid = "41f64ab1-6009-4e95-b22b-c833525f6edb" MATCH p =
(o)-[:CONTAINS|:HAVING*]->(x) WHERE labels(o) IN ['Box', 'Package'] RETURN p
运行它的Neo4j浏览器导致的警告:
**WARNING: This feature is deprecated and will be removed in future versions.**
The semantics of using colon in the separation of alternative relationship
types in conjunction with the use of variable binding, inlined property
predicates, or variable length will change in a future version.
我怎样才能重新写这个查询,以消除此警告?
在此先感谢。