質問編集履歴

1

エラー発生源を記載しました。

2020/03/03 04:18

投稿

dda
dda

スコア33

test CHANGED
File without changes
test CHANGED
@@ -129,3 +129,93 @@
129
129
  ```
130
130
 
131
131
  ![イメージ説明](9c3697d6a338ea02231de263a2ed87d7.png)
132
+
133
+
134
+
135
+ エラー発生源を下記にのせておきます。
136
+
137
+ C:\Users\fghjz.LAPTOP-VM64TKHN\Desktop\laravelapp\vendor\laravel\framework\src\Illuminate\Database\Connection.php:669
138
+
139
+
140
+
141
+ throw new QueryException(     下記のこの部分が669行目になります。
142
+
143
+
144
+
145
+ ```
146
+
147
+ {
148
+
149
+
150
+
151
+ // To execute the statement, we'll simply call the callback, which will actually
152
+
153
+
154
+
155
+ // run the SQL against the PDO connection. Then we can calculate the time it
156
+
157
+
158
+
159
+ // took to execute and log the query SQL, bindings and time in our memory.
160
+
161
+
162
+
163
+ try {
164
+
165
+
166
+
167
+ $result = $callback($query, $bindings);
168
+
169
+
170
+
171
+ }
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+ // If an exception occurs when attempting to run a query, we'll format the error
180
+
181
+
182
+
183
+ // message to include the bindings with SQL, which will make this exception a
184
+
185
+
186
+
187
+ // lot more helpful to the developer instead of just the database's errors.
188
+
189
+
190
+
191
+ catch (Exception $e) {
192
+
193
+
194
+
195
+ throw new QueryException(
196
+
197
+
198
+
199
+ $query, $this->prepareBindings($bindings), $e
200
+
201
+
202
+
203
+ );
204
+
205
+
206
+
207
+ }
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+ return $result;
216
+
217
+
218
+
219
+ }
220
+
221
+ ```