0
votes

I have two document collections and one edge collection. Also I have a graph by this collections.

  1. Can I remove vertex from graph with AQL query in Arangodb?
  2. How can I remove vertex in graph so that edge will be deleted too? I need to do this with AQL query in Arangodb.

If I remove vertex in graphical interface then linked edges is removed too. Why Arangodb doesn't support removing vertices together with their linked edges?

Thank you in advance!

UPDATE:

I have received the answer here:

When graph consistency will be implemented in ArangoDB java driver?

1

1 Answers

3
votes

Deleting vertices with associated edges is currently not handled via AQL. However it is possible to design a query that does it.

A guide on how to delete a vertex with its linked edges via AQL has recently been created in the ArangoDB documentation in the "Usual Query Patterns" section.