After looking at the results of "select from V" and seeing "out_" and "in_" instead of "out" and "in" I tried this:
traverse V.out_, E.in_ from #9:0 and it did traverse all the outgoing vertices. However, all the documentation that I have read refers to "V.out, E.in". What have I missed? Again I'm using 1.7.7 community.... Thanks! On Saturday, August 9, 2014 9:09:04 AM UTC-4, Jon Fields wrote: > > Hi, I just learned about and started experimenting with OrientDB (1.7.7 > community) a few days ago. I am very impressed. > > I apologize if this is a newbie question, however, I am having trouble > understanding traverse with a graph DB. Steps: > > 1. Create a new plocal graph database > 2. create three vertices: #9:0, #9:1, #9:2 just using "create vertex V" > 3. create three edges: > 1. create edge E from #9:0 to #9:1 > 2. create edge E from #9:1 to #9:2 > 3. create edge E from #9:2 to #9:3 > 4. select from V: > ----+----+----+---- > # |@RID|out_|in_ > ----+----+----+---- > 0 |#9:0|#9:1|null > 1 |#9:1|#9:2|#9:0 > 2 |#9:2|null|#9:1 > ----+----+----+---- > > 5. traverse V.out, E.in from #9:0 > ----+----+---- > # |@RID|out_ > ----+----+---- > 0 |#9:0|#9:1 > ----+----+---- > > > > *I would have expected the traversal to return all three vertices. Why is > that not the case? * > 6. traverse * from #9:0 > ----+----+----+---- > # |@RID|out_|in_ > ----+----+----+---- > 0 |#9:0|#9:1|null > 1 |#9:1|#9:2|#9:0 > 2 |#9:2|null|#9:1 > ----+----+----+---- > > Thank you for your help! - Jon > > -- --- 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.