I have a $data variable, its contents are in the form of an array like this
array:2 [▼
0 => 1
3 => 4
]
and I want to find data like this
Model::where('id', $array)->get();
in such a way does not work, then how? maybe you guys have a solution. thanks
whereInlaravel.com/docs/9.x/queries#additional-where-clauses