Hi Luca,

The node is traversed from #11:0. The vertices A are connected by an edge 
called connects. I need to return all nodes and all links. 

Regards,
Tom

@Class RID  Name In out
---------------------------------
A | #11:0 | Link1
A | #11:1 | Link2
A | #11:2 | Link3
A | #11:3 | Link4
Connects | #12:0 | | #11:1 | #11:0
Connects | #12:1 | | #11:2 | #11:1
Connects | #12:2 | | #11:3 | #11:2

On Monday, 9 June 2014 21:45:43 UTC+1, Lvc@ wrote:
>
> Hi Thomas,
> May you post here, given that domain, what's te result you want in terms 
> of output?
>
> Lvc@
>
>
>
> On 9 June 2014 20:20, Thomas Kennedy <[email protected] <javascript:>> 
> wrote:
>
>> Can anybody help here?
>>
>>
>> On Monday, 9 June 2014 08:17:20 UTC+1, Thomas Kennedy wrote:
>>>
>>> The Root Node is #11:0
>>>
>>> But I need both Class's V and E returned. And I only need the edge 
>>> connect.
>>>
>>> select outE('connects') from A
>>>
>>> It also sees to only go one level. I need all the connected edges of the 
>>> tree returned.
>>>
>>>
>>>
>>>
>>>
>>> On Monday, 9 June 2014 00:09:27 UTC+1, Lvc@ wrote:
>>>>
>>>> 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] <javascript:>.
>> 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