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 <tomais....@gmail.com> 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 orient-databa...@googlegroups.com.
>>> 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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to