Skip to content

Commit 0c26218

Browse files
authored
refactor: enhance transaction attempts syntax in database documentation (#10839)
1 parent 37786a8 commit 0c26218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ DB::transaction(function () {
391391
DB::update('update users set votes = 1');
392392

393393
DB::delete('delete from posts');
394-
}, 5);
394+
}, attempts: 5);
395395
```
396396

397397
<a name="manually-using-transactions"></a>

0 commit comments

Comments
 (0)