我有一个带有文件夹树状结构的图,我想将所有顶点作为叶子从特定起点获取到图中。我使用了以下 AQL 查询:
FOR V in
GRAPH_NEIGHBORS( "FolderTree",
{ "folderpath" : "/Cabinet 000001"},
{ direction : 'outbound',
maxDepth : 20,
vertexCollectionRestriction : 'Document'})
return V
查询工作正常,但我只将内部句柄 ID 放入结果中:
["Document/4592118051","Document/4598606115","Document/4588185891",....]
我希望将记录列表而不是内部 ID 作为结果。所有内部 ID 属于同一个集合。我想知道是否可以使用子查询。我不明白语法可能是什么。
问候