Skip to content

Commit a4d2a8f

Browse files
remove example
1 parent af38290 commit a4d2a8f

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

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

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,28 +1089,6 @@ RETURN nodeStatus.transactionId as nodeTransaction,
10891089
----
10901090
// end::subqueries_in_transactions_deadlock_example_2[]
10911091
1092-
.Click to see an example of failed transactions being retried without using `ON ERROR RETRY`
1093-
[%collapsible]
1094-
====
1095-
1096-
.Query retrying failed transactions
1097-
[source, cypher]
1098-
----
1099-
LOAD CSV WITH HEADERS FROM 'https://data.neo4j.com/importing-cypher/movies.csv' AS row
1100-
CALL (row) {
1101-
MERGE (m:Movie {movieId: row.movieId})
1102-
MERGE (y:Year {year: row.year})
1103-
MERGE (m)-[r:RELEASED_IN]->(y)
1104-
} IN 2 CONCURRENT TRANSACTIONS OF 10 ROWS ON ERROR CONTINUE REPORT STATUS as status
1105-
WITH *
1106-
WHERE status.committed = false
1107-
CALL (row) {
1108-
MERGE (m:Movie {movieId: row.movieId})
1109-
MERGE (y:Year {year: row.year})
1110-
MERGE (m)-[r:RELEASED_IN]->(y)
1111-
} IN 2 CONCURRENT TRANSACTIONS OF 10 ROWS ON ERROR FAIL
1112-
----
1113-
====
11141092
=====
11151093

11161094
[[restrictions]]

0 commit comments

Comments
 (0)