It works!!! Great community support. Thank you!
On Wednesday, October 5, 2016 at 1:09:43 PM UTC-4, Allen Zhao wrote: > > Hi There, > > Want to figure a way to query a sub graph. E.g. I want to query from a > startVertex with depth 2 and list all nodes and edges in a sub-graph json. > > I can use two queries to return nodes and edges and merge them into one. > Is there a way to do that in one query? > > { > nodes: [ > { > "_key": A, > "x": 100, > "y": 100 > }, > { > "_key": B, > "x": 200, > "y": 200 > }, > ], > edges: [ > { > "_from": "A", > "_to": "B" > } > ] > } > > > > > > -- 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 arangodb+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.