From e13b60a24bf9822487fc333f902028ceb4c285d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Pryce-=C3=85klundh?= <112686610+JPryce-Aklundh@users.noreply.github.com> Date: Tue, 2 May 2023 19:42:33 +0200 Subject: [PATCH] Add 5.7 CALL IN TXs features to additions page (#526) Trello Card: https://trello.com/c/01mZK1Gb/4923-need-disclaimer-introduced-in-57-for-https-neo4jcom-docs-cypher-manual-current-clauses-call-subquery-txserrorbehaviour --- ...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"]