回答編集履歴
1
codeタグで囲う
test
CHANGED
@@ -2,17 +2,19 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
5
|
+
```
|
6
6
|
|
7
|
+
Staff::where('id', $this->id)->exists('status', [1,5]);
|
7
8
|
|
9
|
+
```
|
8
10
|
|
9
11
|
を
|
10
12
|
|
13
|
+
```
|
11
14
|
|
15
|
+
Staff::whereIn('id', [1,5])->get();
|
12
16
|
|
13
|
-
|
17
|
+
```
|
14
|
-
|
15
|
-
|
16
18
|
|
17
19
|
でいけませんか?
|
18
20
|
|