Reputation: 209
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.
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
Upvotes: 0
Views: 125
Reputation: 6067
Update: Using the modern AQL graph traversal, the full vertex documents are returned by default.
You're able to retrieve the full vertices documents by specifying the includeVertices
option (see docs about graph functions) for more details)
Upvotes: 1