Hello!

I've stumbled upon a sort of inconsistency when it comes to the "order" in 
which the results are returned after a traversal.

Basically, I am dealing with a graph that stores an organization hierarchy, 
with orgs having managers.
The query is the following:

traverse in('MANAGES'), out('CHILD_OF') from (select out('BELONGS_TO') from 
User where Username = 'diana_test') strategy BREADTH_FIRST 

MANAGES is an edge from User to Organization and CHILD_OF is from 
Organization to Organization.

Now, running the queries multiple times I either get the right thing 
(meaning each org followed by its manager up to the root) or a list of 
organizations and then all the users.

Am I missing something about ordering the results?

Thanks,
Andrei

-- 

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