简体   繁体   English

ArangoDB遍历获取顶点文档

[英]ArangoDB traverse getting the vertex documents

How can I traverse a graph getting the complete vertex related documents? 如何遍历图以获取完整的顶点相关文档?

I don't want only the vertex related IDs from a start ID, but also the complete document (all fields) from all IDs related with the start node ID. 我不仅想要起始ID中与顶点相关的ID,还不需要与起始节点ID相关的所有ID中的完整文档(所有字段)。

Today I get the vertex and query all the related vertex one by one, because I need all document fields from the related vertexes. 今天,我得到了顶点并一一查询所有相关的顶点,因为我需要相关顶点的所有文档字段。

Thanks. 谢谢。 Ralf 拉尔夫

您可以通过指定includeVertices选项来检索完整的顶点文档(有关更多详细信息,请参见https://docs.arangodb.com/Aql/GraphFunctions.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM