回答編集履歴

2

文言を追記

2016/03/28 14:08

投稿

KiyoshiMotoki
KiyoshiMotoki

スコア4791

test CHANGED
@@ -36,6 +36,18 @@
36
36
 
37
37
  リファレンスによると、
38
38
 
39
+ > If an exception is thrown within the transaction Closure, the transaction will automatically be rolled back.
40
+
41
+
42
+
43
+ 「もしクロージャの中から例外が投げられたら、トランザクションは自動的にロールバックされます」
44
+
45
+ と。
46
+
47
+ そして
48
+
49
+
50
+
39
51
  > Note: Using the DB facade's transaction methods also controls transactions for the query builder and Eloquent ORM.
40
52
 
41
53
 

1

タイポを修正

2016/03/28 14:08

投稿

KiyoshiMotoki
KiyoshiMotoki

スコア4791

test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  });
26
26
 
27
- } catch (\Exception $e) {
27
+ } catch (Exception $e) {
28
28
 
29
29
  return Redirect::back();
30
30