Hi Michela,

traverse gives the results out as an array of objects which are the 
vertexes it traverses through, it doesn't give me the nested object 
structure that I was hoping for.

Of course, I could use these nodes retrieved and manually match the in and 
out vertex @rids to build my nested object but I feel that there should be 
a better way to do this?

Plus I can get nested objects 1 level deep with FETCHPLAN so I imagine 
there should be a way to get nested objects 2 levels deep in a similar 
fashion...

Thanks,
Eric

On Sunday, September 6, 2015 at 11:26:50 PM UTC-7, [email protected] 
wrote:
>
> Hi Eric,
>
> Try this:
>
> traverse out("hasEdge") as FirstEdge from #12:0 strategy DEPTH_FIRST
>
> Regards,
> Michela
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to