On Mon, Mar 14, 2011 at 3:13 PM, Mattias Persson
<matt...@neotechnology.com> wrote:

> Would you like to do a traversal where relationships of different types can
> be traversed? That can/should be done with one traversal, one
> TraversalDescription:
>
>  Traversal.description()
>      .relationships(KNOWS, Direction.OUTGOING)
>      .relationships(LOVES)
>      .relationships(SOMETHING, Direction.INCOMING).traverse(startNode);
>
> i.e. add more relationship types by just calling the "relationships" method
> multiple times.

Cool didn't thought about that... And the order of relationships() is
the order I want different Relationship should be traversed right?

Going to try tomorrow... Thanks!
-- 
Massimo
http://meridio.blogspot.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to