Xavier,
why can't you use an external variable?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Sun, Jul 24, 2011 at 11:49 PM, Javier de la Rosa <[email protected]> wrote:
> Hi all,
>
> I have the need to do something like this:
>
> gremlin> g.v(0).out.inV{it.getProperty("J") ==
> <last_it>.getProperty("J") + 10}.out...
>
> I mean, I need to compare the value of a node property with the value
> in the last node property, and repeat the process on every node to
> check growth rates. But I don't if this is possible without using
> variables external to the query.
>
> Thank you in advance.
> Regards.
>
>
> --
> Javier de la Rosa
> http://versae.es
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to