Skip to content

Commit 7974cb8

Browse files
Update modules/ROOT/pages/subqueries/subqueries-in-transactions.adoc
Co-authored-by: Jens Pryce-Åklundh <[email protected]>
1 parent da2af2c commit 7974cb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/ROOT/pages/subqueries/subqueries-in-transactions.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,8 @@ This can be achieved by dividing a task into two distinct subqueries: a data-ind
10721072
In the below example, nodes and properties are created in a concurrent subquery, while the relationships connecting those nodes are created in a serial subquery.
10731073
This method benefits from the performance of concurrent transactions while avoiding deadlocks.
10741074
1075-
.Query splitting up the transactional subquery in a data-independent concurrent subquery followed by a data-dependent serial subquery to avoid deadlocks
1075+
.Avoiding deadlocks by dividing an import task into a data-independent concurrent subquery followed by a data-dependent serial subquery
1076+
// tag::subqueries_in_transactions_deadlock_example_2[]
10761077
// tag::subqueries_in_transactions_deadlock_example_2[]
10771078
[source, cypher]
10781079
----

0 commit comments

Comments
 (0)