I\'m using the Laravel Eloquent query builder and I have a query where I want a WHERE clause on multiple conditions. It works, but it\'s not elegant.
WHERE
E
use whereIn condition and pass the array
whereIn
$array = [1008,1009,1010];
User::whereIn('users.id', $array)->get();