{"published":"2021-05-26 22:02:04","author_name":"uc_ebuc","version":"1.0","author_url":"https://blog.hatena.ne.jp/uc_ebuc/","categories":["Laravel"],"height":"190","provider_url":"https://hatena.blog","width":"100%","description":"DB::transaction()\u306e\u5b9f\u88c5\u306f\u3001ManagesTransactions\u3068\u3044\u3046trait\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3060\u3002 \u5b9f\u88c5\u3092\u898b\u3066\u307f\u308b\u3068\u3001\u4e00\u3064\u76ee\u306e\u5f15\u6570\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e\u8fd4\u308a\u5024\u3092\u305d\u306e\u307e\u307e\u8fd4\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308b\u3002 https://github.com/laravel/framework/blob/8.x/src/Illuminate/Database/Concerns/ManagesTransactions.php#L20 public function transaction(Closure $callback, $attempts = 1) { for ($currentAt\u2026","blog_url":"https://cufl.hateblo.jp/","blog_title":"\u96d1\u591a\u306a\u30d6\u30ed\u30b0","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcufl.hateblo.jp%2Fentry%2F2021%2F05%2F26%2F220204\" title=\"Laravel - DB::transaction() \u306e\u8fd4\u308a\u5024\u306f\u4f55\uff1f - \u96d1\u591a\u306a\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"url":"https://cufl.hateblo.jp/entry/2021/05/26/220204","title":"Laravel - DB::transaction() \u306e\u8fd4\u308a\u5024\u306f\u4f55\uff1f","type":"rich"}