回答編集履歴
4
Edit
test
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
```PHP
|
2
|
-
|
3
|
-
// $users = User::all(); //テーブルの全ての情報を取得し、$users変数に代入
|
4
2
|
|
5
3
|
$users = User::whereNotIn('id', [Auth::id()])->get();
|
6
4
|
|
3
fix
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
// $users = User::all(); //テーブルの全ての情報を取得し、$users変数に代入
|
4
4
|
|
5
|
-
$users = User::whereNotIn('id', Auth::id())->get();
|
5
|
+
$users = User::whereNotIn('id', [Auth::id()])->get();
|
6
6
|
|
7
7
|
```
|
8
8
|
|
2
fix
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
// $users = User::all(); //テーブルの全ての情報を取得し、$users変数に代入
|
4
4
|
|
5
|
-
$users = User::whereNotIn('
|
5
|
+
$users = User::whereNotIn('id', Auth::id())->get();
|
6
6
|
|
7
7
|
```
|
8
8
|
|
1
fix
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
// $users = User::all(); //テーブルの全ての情報を取得し、$users変数に代入
|
4
4
|
|
5
|
-
$users = User::whereNotIn('
|
5
|
+
$users = User::whereNotIn('_id', Auth::id())->get();
|
6
6
|
|
7
7
|
```
|
8
8
|
|