I am trying to come up with a query for the following scenario.

I have 2 hierarchies: A->B->C and D->E->F
The number of nodes in the hierarchy can change.
The node in 1st hierarchy can be connected to the other using some relation 
say 'Assigned'.
What I want is the parent node of the 2nd hierarchy if there is any 
incoming edge to any of the node in that 2nd hierarchy from the 1st.
How can I do this? Is it too complex to be achieved?

Thanks.

-- 

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