ArangoDB java驱动什么时候实现图一致性? [英] When graph consistency will be implemented in ArangoDB java driver?

查看:21
本文介绍了ArangoDB java驱动什么时候实现图一致性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前段时间我问过 删除具有关联边的顶点.答案是删除顶点时 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.

我的问题是:

  1. ArangoDB java 驱动程序中何时会实现图一致性,当删除顶点时,AQL 会自动删除边?

  1. 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:

  • 命名图

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆