回答編集履歴

1

追記

2020/09/19 11:18

投稿

phper.k
phper.k

スコア3923

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```php
6
6
 
7
- $user = User::with(['books'])->latest()->get();
7
+ $user = User::with(['books'])->latest();
8
8
 
9
9
  foreach ($user->books as $book) {
10
10