Hi,
you can use this query:
select from Person where $parents containsAll (@rid in $current.in_Child) 
and $parents.size() = in('Child').size() and @rid<>#11:3
let $parents= (select expand(in('Child')) from #11:3)

Regards,
Alessandro

-- 

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