I have a graph with a folder tree like structure and i want to get all vertices as leaf from specific starting point into the graph. I used the following AQL query :
FOR V in
GRAPH_NEIGHBORS( "FolderTree",
{ "folderpath" : "/Cabinet 000001"},
{ direction : 'outbound',
maxDepth : 20,
vertexCollectionRestriction : 'Document'})
return V
The query works fine but i only get internal handle ID into results :
["Document/4592118051","Document/4598606115","Document/4588185891",....]
I would like to have as result the list of records into collection instead of internal ID. All internal ID belong to the same collection. I am wondering if it is possible to use sub-query. I do not understand what could be the syntax.
Regards