diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index a39863b38..bcb395018 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -40,6 +40,39 @@ The `trackedSince` column returns the time when usage statistics tracking starte [[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"]