什么时候将在ArangoDB Java驱动程序中实现图形一致性? [英] When graph consistency will be implemented in ArangoDB java driver?
问题描述
前段时间,我询问了删除具有关联边的顶点.答案是删除顶点时AQL不会自动删除边缘.
Some time ago I asked about deleting vertices with associated edges. The answer was that the edges don't deleted automatically by AQL when vertices are deleted.
我使用Arango Java驱动程序来处理ArangoDB.
I use Arango java driver for working with ArangoDB.
我的问题是:
-
何时在ArangoDB Java驱动程序中实现图形一致性,并且删除顶点时AQL会自动删除边?
When graph consistency will be implemented in ArangoDB java driver and edges will be deleted automatically by AQL when vertices are deleted?
有计划吗?
提前谢谢!
推荐答案
我直接从ArangoDB贡献者那里得到了答案,他们说在v 3.4中,通过图形删除顶点会自动删除关联的边.
I received the answer directly from ArangoDB contributors and they said that in v 3.4 the removing vertex through the graph leads to automatically remove the associated edges.
要在删除顶点时自动删除边,您需要 使用:
To automatically delete an edge when a vertex gets deleted, you have to use:
-
命名图
named graphs
AND
Java驱动程序中的graphAPI https ://docs.arangodb.com/3.4/Drivers/Java/Reference/Graph/#graph-api
the graphAPI in the java driver https://docs.arangodb.com/3.4/Drivers/Java/Reference/Graph/#graph-api
这篇关于什么时候将在ArangoDB Java驱动程序中实现图形一致性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!