Hello bob
His query Allows her to see only the arc bc, because orient does not take 
even edge bd but only bc

the query to see the vertices linked type A and type B is:


select expand($c) let $a = (select expand(out('edge_name').out('edge_A')) 
from x), $b = (select expand(out('edge_name').out('edge_B')) from x), $c = 
unionAll($a,$b)

Il giorno lunedì 20 luglio 2015 22:08:25 UTC+2, BobJones ha scritto:
>
> Hi,
>
>
> I am noticing that when I run a query such as select 
> expand(out('EDGE_NAME').out('EDGE_A', 'EDGE_B')) from x where y,
>
>
> that the order of EDGE_A and EDGE_B inside the out() function matters. It 
> appears that if EDGE_A is found, the query will return results if EDGE_A is 
> the first name in the second out as in the example. But, if EDGE_B is 
> present, and EDGE_A is not, then no results will be returned?
>
>
> Should not both be returned regardless of order? 
>
>
> Note, that I'm noticing this only on the second OUT()
>
>
> Can anyone explain this behaviour? 
>

-- 

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