回答編集履歴

1

codeタグで囲う

2020/09/02 23:11

投稿

Suumon
Suumon

スコア211

test CHANGED
@@ -2,17 +2,19 @@
2
2
 
3
3
 
4
4
 
5
- > Staff::where('id', $this->id)->exists('status', [1,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
- > Staff::whereIn('id', [1,5])->get();
17
+ ```
14
-
15
-
16
18
 
17
19
  でいけませんか?
18
20