Re: [Neo4j] What is this query in JavaScript (REST)?

2011-12-05 Thread maxdemarzi
to other users, then you can skip the check for the last relationship was current. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-What-is-this-query-in-JavaScript-REST-tp3563224p3563653.html Sent from the Neo4j Community Discussio

Re: [Neo4j] What is this query in JavaScript (REST)?

2011-12-05 Thread Dmytrii Nagirniak
Thanks a lot. I see now. So the "relationships" key/value is the closest thing that represents MATCH. What does it mean to have an array of those? Is it going to traverse any of the relations in the array or it is ordered and will end when it has exceeded itself. I suppose it's just the set of r

Re: [Neo4j] What is this query in JavaScript (REST)?

2011-12-05 Thread Michael Hunger
You can execute cypher remotely on the server, which is preferred the way. http://docs.neo4j.org/chunked/milestone/cypher-plugin.html As of 1.6.M02 there will also be an endpoint in the core-rest-api: Michael Am 06.12.2011 um 02:51 schrieb Dmytrii Nagirniak: > Hi, > > How would I rewrite thi

Re: [Neo4j] What is this query in JavaScript (REST)?

2011-12-05 Thread maxdemarzi
"language" => "javascript", "body" => "position.length() == 3 && position.lastRelationship().getType().name() == 'current' && position.endNode().getProperty('email')==&#

[Neo4j] What is this query in JavaScript (REST)?

2011-12-05 Thread Dmytrii Nagirniak
Hi, How would I rewrite this Cypher query with JavaScript (so it can be sent to the traversal API)? START s=node(123) MATCH s->[:users]->[:current]->u WHERE u.email = 'abc' RETURN u Cheers, Dmytrii. http://www.ApproachE.com ___ Neo4j mailing list