Works perfectly. Thanks!

On Monday, October 30, 2017 at 2:59:13 AM UTC-5, Luigi Dell'Aquila wrote:
>
> Hi Eric,
>
> With plain SELECT:
>
> SELECT inV().vertexProp1, inV().vertexProp2, edgeProp1, edgeProp2 from (
>     select expand(outE("TheEdgeClass")) FROM V WHERE foo = ?
> )
>
> With MATCH:
>
> MATCH
>    {class:V, as: theRootNode, where:(foo = ?)} 
> .outE("TheEdgeClass"){as:theEdge} .inV() {as:firstLevel}
> RETURN theEdge.prop1 as p1, theEdge.prop2 as p2, firstLevel.prop1, as p3, 
> firstLevel.prop2 as p4
>
> Thanks
>
> Luigi
>
>
>

-- 

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