I recently migrated to ArangoDB 3.1.12 and I am using the php arangodb 
library (https://github.com/arangodb/arangodb-php/) for some 
functionalities. 
I 2.8.0 when I needed to delete something (a page for example that was in a 
pagetree and had other pages below) I parsed all connected edges and 
deleted them one by one


$graph = $graphHandler->getGraph('pageTree');
$vertexHandler = new ArangoVertexHandler($this->getArangodbConnection());


//get the vertex of the deleted page
$vertex=$vertexHandler->getById('page', $id);


//get all the children pages
$edgeCursors=$graphHandler->getConnectedEdges($graph, $vertex->getHandle(), 
[
     'direction'=>'outbound',
     'includeData'=>true,
     'maxDepth'=>20,
     'maxIterations'=>200,
]);

How can I achieve the same result with as few as code changes possible ?
Should getEdgeCollections() suffice?

In case anyone wonders where the methods, are they are in 
"lib/triagens/ArangoDb/GraphHandler.php"

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to