Re: [Neo4j] HTTP cypher queries

2014-01-27 Thread Michael Hunger
You can just rollback the tx if you use the transactional endpoint. i.e. DELETE /db/data/transaction/ POST /db/data/transaction {...} DELETE /db/data/transaction/ On Mon, Jan 27, 2014 at 9:41 PM, Alex Frieden wrote: > Ya sure > I would like to test cypher statements using the infrastructure I ha

Re: [Neo4j] HTTP cypher queries

2014-01-27 Thread Alex Frieden
Ya sure I would like to test cypher statements using the infrastructure I have built in grails to test things like "START n=node(4) CREATE (m:Person {name:'alex'}) (m)-[:CONNECTS]->(n)" have it respond with a successful create response but not actually create it. I was curious whether there was a

Re: [Neo4j] HTTP cypher queries

2014-01-27 Thread Michael Hunger
Does not compute? Can you perhaps provide an example? On Mon, Jan 27, 2014 at 6:29 PM, Alex Frieden wrote: > Hi all, > I wanted to build some tests to do create statements. However I don't want > it to build out anything. Is there any endpoint that will toss any > transaction you throw at it bu

[Neo4j] HTTP cypher queries

2014-01-27 Thread Alex Frieden
Hi all, I wanted to build some tests to do create statements. However I don't want it to build out anything. Is there any endpoint that will toss any transaction you throw at it but respond back with the proper notification? (such as 1 node created, 1 relationship created) -- You received th