Re: [Neo4j] Neo4j REST, python, prune evaluator trick/hack, and some more Q.

2010-07-05 Thread Mattias Persson
2010/7/5 Sergey Nikitin > Hi! I'v found that it is possible to alter database data inside > traversal query like this: > > *PYTHON DICT* > ... >"prune evaluator": { > "language": "javascript", > "body": """ > if(position.node().getId().equals(12)){ >position.node().setP

[Neo4j] Neo4j REST, python, prune evaluator trick/hack, and some more Q.

2010-07-05 Thread Sergey Nikitin
Hi! I'v found that it is possible to alter database data inside traversal query like this: *PYTHON DICT* ... "prune evaluator": { "language": "javascript", "body": """ if(position.node().getId().equals(12)){ position.node().setProperty('some_property','some_value');