We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d103849 commit 0a143ccCopy full SHA for 0a143cc
docs/transactions.txt
@@ -99,15 +99,16 @@ to another account:
99
:start-after: begin transaction callback
100
:end-before: end transaction callback
101
102
-You can optionally pass the maximum number of times to retry a failed transaction as the second parameter as shown in the following code example:
+You can optionally pass the maximum number of times to retry a failed transaction
103
+as the second parameter, as shown in the following code example:
104
105
.. code-block:: php
106
:emphasize-lines: 4
107
108
DB::transaction(function() {
109
// transaction code
110
},
- retries: 5,
111
+ attempts: 5,
112
);
113
114
.. _laravel-transaction-commit:
0 commit comments