I think I got it. For the first time I created the edge with a wrong 
direction, then I edited it, change the in and out vertices.
The changes showed up on the frontend (studio) but not elsewhere. Can it be 
a bug?

On Monday, 1 June 2015 16:44:30 UTC+2, kova...@gmail.com wrote:
>
> Hello!
>
> Whatever query I'm running, it doesn't really matter. Let's say I'm just 
> running a traverse * from node like query.
> If I have a look at all the vertices and edges the in, out rids indicate 
> that all the directions are set up correctly.
> But when I'm trying to traverse the nodes, for the traverse one edge's 
> direction seems to be inverted.
>
>
> On Monday, 1 June 2015 16:35:41 UTC+2, alessand...@gmail.com wrote:
>>
>> Hi,
>> you can explain better, because I don't understand what you want to 
>> achieve from the query.
>>
>> Bye, Alessandro
>>
>> Il giorno lunedì 1 giugno 2015 15:50:36 UTC+2, kova...@gmail.com ha 
>> scritto:
>>>
>>>
>>> Hello!
>>>
>>> I would like to ask you a question, or at least if you have seen similar:
>>> I have the following structure:
>>> User --OwnsGroup--> Group --HasSubGroup--> Group
>>>
>>> Consider this example:
>>> User1 --OwnsGroup--> Group1
>>> Group1--HasSubGroup-->Group2
>>> Group1--HasSubGroup-->Group3
>>>
>>> At least that's what I created. When querying the data of the 
>>> HasSubGroup edges all the vertices are correct (I mean their direction).
>>>
>>> But when I query "traverse * from User where name = "User1" " it 
>>> indicates that the User1 has 1 outgoing edge to Group1.
>>> And then Group1 has 1 incoming and 1 outgoing edge, one to Group2, the 
>>> other to Group3.
>>>
>>> Why could it be?
>>> Checking the rids of the edges / vertices everything seems to be just 
>>> fine.
>>> And then when traversing it indicates the wrong direction (even from 
>>> gremlin too).
>>> I get the same result when executing a gremlin query: I can't traverse 
>>> in loop the OUT edges, since one that should be OUT edge, is an IN edge.
>>>
>>> Has anybody experienced such a thing before?
>>>
>>

-- 

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