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:
When graph consistency will be implemented in ArangoDB java driver and edges will be deleted automatically by AQL when vertices are deleted?
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.
To automatically delete an edge when a vertex gets deleted, you have to use:
- named graphs
AND
- the graphAPI in the java driver https://www.javadoc.io/doc/com.arangodb/arangodb-java-driver/latest/com/arangodb/ArangoGraph.html