From 189ebd016e432ff2c854e42309c0800e4df4d778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Pryce-=C3=85klundh?= <112686610+JPryce-Aklundh@users.noreply.github.com> Date: Fri, 28 Apr 2023 08:55:22 +0200 Subject: [PATCH] add call in tx feature to additions page --- ...ions-additions-removals-compatibility.adoc | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 22cd2acdc..ceaff0a23 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -13,6 +13,39 @@ Replacement syntax for deprecated and removed features are also indicated. [[cypher-deprecations-additions-removals-5.7]] == Version 5.7 +=== New features + +[cols="2", options="header"] +|=== +| Feature +| Details + +a| +label:functionality[] +label:new[] +[source, syntax] +---- +CALL { + +} IN TRANSACTIONS [ OF ROWS ] + [ ON ERROR CONTINUE / BREAK / FAIL ] + [ REPORT STATUS AS ] +---- + +a| +New fine-grained control mechanism to control how an inner transaction impacts subsequent inner and/or outer transactions. + +* `ON ERROR CONTINUE` - will ignore errors and continue with the execution of subsequent inner transactions when one of them fails. + +* `ON ERROR BREAK` - will ignore an error and stop the execution of subsequent inner transactions. + +* `ON ERROR FAIL` - will fail in case of an error. + +* `REPORT STATUS AS ` - reports the execution status of the inner transaction (a map value including the fields `started` `committed`, `transactionId`, and `errorMessage`). This flag is disallowed for `ON ERROR FAIL`. + +|=== + + === Deprecated features [cols="2", options="header"]