You can just rollback the tx if you use the transactional endpoint.
i.e. DELETE /db/data/transaction/<tx-id>
POST /db/data/transaction {...}
DELETE /db/data/transaction/<tx-id>
On Mon, Jan 27, 2014 at 9:41 PM, Alex Frieden <[email protected]> wrote:
> 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 good way to do such a thing. (I am using the HttpBuilder plugin for
> grails to do a lot of these queries). Thanks!
>
>
> On Mon, Jan 27, 2014 at 3:34 PM, Michael Hunger
> <[email protected]> wrote:
>>
>> Does not compute? Can you perhaps provide an example?
>>
>> On Mon, Jan 27, 2014 at 6:29 PM, Alex Frieden <[email protected]> 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 but respond back with the proper
>> > notification?
>> > (such as 1 node created, 1 relationship created)
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Neo4j" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > For more options, visit https://groups.google.com/groups/opt_out.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
> --
> Alexander Frieden
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.