maxdemarzi wrote
> 
> nodes = @neo.traverse(node1,                                              
>                       "nodes",                                            
>                       {"order" => "breadth first",
>                        "uniqueness" => "node global",
>                        "relationships" => [{"type"=> "friends",
>                                             "direction" => "out"},
>                                            {"type"=> "likes",
>                                             "direction" => "out"}],
>                         "return filter" => {
>                                             "language" => "javascript",
>                                             "body" => "position.length()
> == 2 && position.lastRelationship().getType().name() == 'likes';"},
>                        "depth" => 2})  
> 

Max, excellent explanation, thanks. I'll get busy translating that into
Java.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Nested-chained-queries-tp3536514p3541740.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to