Try this
model::whereIn('id' , [1,2,3] )->select('id', 'name')->get()
0
solved laravel : how to filter records from database side
Try this
model::whereIn('id' , [1,2,3] )->select('id', 'name')->get()
0
solved laravel : how to filter records from database side