Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 AgensGraph 上测试了几个案例之后。
我尝试新的测试。但不希望的结果返回。
如何删除所有旧数据。
“DETACH DELETE”可以远程所有节点和相关边缘。
# create (:v{id:1})-[:e]->(:v{id:2}); GRAPH WRITE (INSERT VERTEX 2, INSERT EDGE 1) # match (n) detach delete n; GRAPH WRITE (DELETE VERTEX 2, DELETE EDGE 1)
当没有“DETACH”令牌时,带有边的节点会导致错误。