Eloquent Code
return Film::first();
Sql Executed
Total Execution Time: 2.75
select * from `films` limit 1
Time: 2.75
Returned Data
Film {#231 #connection: "mysql" #table: null #primaryKey: "id" #keyType: "int" +incrementing: true #with: [] #withCount: [] #perPage: 15 +exists: true +wasRecentlyCreated: false #attributes: array:14 [ "id" => 1 "title" => "ACADEMY DINOSAUR" "description" => "A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies" "release_year" => "2006" "language_id" => 1 "original_language_id" => null "rental_duration" => 6 "rental_rate" => "0.99" "length" => 86 "replacement_cost" => "20.99" "rating" => "PG" "special_features" => "Deleted Scenes,Behind the Scenes" "created_at" => "2017-10-12 00:07:37" "updated_at" => "2006-02-15 05:03:42" ] #original: array:14 [ "id" => 1 "title" => "ACADEMY DINOSAUR" "description" => "A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies" "release_year" => "2006" "language_id" => 1 "original_language_id" => null "rental_duration" => 6 "rental_rate" => "0.99" "length" => 86 "replacement_cost" => "20.99" "rating" => "PG" "special_features" => "Deleted Scenes,Behind the Scenes" "created_at" => "2017-10-12 00:07:37" "updated_at" => "2006-02-15 05:03:42" ] #changes: [] #casts: [] #dates: [] #dateFormat: null #appends: [] #dispatchesEvents: [] #observables: [] #relations: [] #touches: [] +timestamps: true #hidden: [] #visible: [] #fillable: [] #guarded: array:1 [ 0 => "*" ] }