Hi Nuo,

Please ignore my previous mail - Tobias pointed out that my syntax was wrong 
(thanks Tobias!). 

Try:


"position.endNode().hasProperty('name') && 
!position.endNode().hasRelationship([org.neo4j.graphdb.DynamicRelationshipType.withName(
 'bar' )])"

And it should work fine (look out for those JavaScript array parentheses, 
needed because we're calling a var arg function).

Jim

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to