Hi,
Where do you start? If you don't have a root vertex, you could do:

select *, outE() from A

Or even:

select *, inV() from Connects

Lvc@



On 8 June 2014 18:20, Thomas Kennedy <[email protected]> wrote:

> Hi,
>
> I have a node A and these are connected by an edge called connects.
>
> I want to return Both Vertex and Edge in the Query?
>
> Any help would be grateful?
>
>
> A
> RID     Name
> -----
> #11:0 | Link1
> #11:1 | Link2
> #11:2 | Link3
> #11:3 | Link4
>
> Connects
> RID    Out      In
> ------------------------------
> #12:0 | #11:1 | #11:0
> #12:1 | #11:2 | #11:1
> #12:2 | #11:3 | #11:2
>
>  --
>
> ---
> 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.
>

-- 

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