简体   繁体   English

什么时候在ArangoDB Java驱动程序中实现图一致性?

[英]When graph consistency will be implemented in ArangoDB java driver?

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. 答案是删除顶点时AQL不会自动删除边。

I use Arango java driver for working with ArangoDB. 我使用Arango Java驱动程序来处理ArangoDB。

My questions are: 我的问题是:

  1. When graph consistency will be implemented in ArangoDB java driver and edges will be deleted automatically by AQL when vertices are deleted? 什么时候在ArangoDB Java驱动程序中实现图形一致性,并且删除顶点时AQL会自动删除边线?

  2. Is it planned? 有计划吗

Thank you in advance! 先感谢您!

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. 我直接从ArangoDB贡献者那里得到了答案,他们说在v 3.4中,通过图形删除顶点会自动删除关联的边。

To automatically delete an edge when a vertex gets deleted, you have to use: 要在删除顶点时自动删除边,您必须使用:

Arango ensures consistency for named graphs. Arango确保命名图的一致性。 Here is the documentation that describes named graphs and the difference with unnamed (anonymous) graphs. 这是描述命名图以及与未命名(匿名)图的区别的文档。 You can create named graphs directly in the graph section of the Arango gui 您可以直接在Arango gui的图形部分中创建命名图形

https://docs.arangodb.com/3.3/Manual/Graphs/ https://docs.arangodb.com/3.3/Manual/Graphs/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM