Daria
Daria

Reputation: 43

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.

I use Arango java driver for working with 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?

  2. Is it planned?

Thank you in advance!

Upvotes: 0

Views: 290

Answers (2)

Daria
Daria

Reputation: 43

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

Upvotes: 2

camba1
camba1

Reputation: 1830

Arango ensures consistency for named graphs. 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

https://docs.arangodb.com/3.11/graphs/

Upvotes: 0

Related Questions