// Retrieve a model by its primary key...
$flight = AppFlight::find(1);
// Retrieve the first model matching the query constraints...
$flight = AppFlight::where('active', 1)->first();
// Shorthand for retrieving the first model matching the query constraints...
$flight = AppFlight::firstWhere('active', 1);
public function index()
{
$blogs = Blog::find([1, 2, 3]);
dd($blogs);
}