Eloquent 101

Eloquent Code

        // Extremely simplified example that you would never do really.
        $film = Film::first();
        return $film->title;

Sql Executed

Total Execution Time: 19.95

    select * from `films` limit 1
        Time: 19.95 

Returned Data

"ACADEMY DINOSAUR"