javadatabasearangodbaql

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!


Solution

  • 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