Did something like this, wich seems to be working (at least for me :-) ):
 
In my example the lowest level of nodes is "vC". Let's say it is the LOG of 
actions taken by the users, so it is a link-like node between user accounts 
and sites. (This is not the real use-case, but that one is not public). 
And it has the most elements.
 
select max(in('eCD').Field_Of_vD), vC.Field_1, vC.Field_2  from (select 
expand(in(eCD)) from vD) group by vC.Field_A, vC.field_B
 
In my example there is only 1 item attached as IN(class of vB) and 
OUT(class of vD) attached to vC.
One can argue that vertice vC should be an edge, but there are more class 
of nodes linked to vC.

-- 

--- 
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