Re: [orientdb] Returning a tree structure

2015-04-20 Thread Luigi Dell'Aquila
Hi Caleb, which API are you using? You can get this result just with a "SELECT FROM a FETCHPLAN *:-1" 2015-04-19 12:07 GMT+02:00 : > Hi all, > > Suppose that I have a tree like this: > >-> d >| > -> b > || > a---> -> e > | > - > c -> f >

[orientdb] Returning a tree structure

2015-04-19 Thread cloverethos
Hi all, Suppose that I have a tree like this: -> d | -> b || a---> -> e | - > c -> f when I do > select out(), out().out() from a I would get something like > [a,[b,c],[d,e,f]] how can I get something like > {a:[b:[d,e],c:[f]} Th