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 [email protected].
For more options, visit https://groups.google.com/d/optout.