Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

all() in laravel

all() is a static method on the EloquentModel.
All it does is create a new query object and call get() on it.
With all(), you cannot modify the query performed at all 
(except you can choose the columns to select by passing them as parameters).
get() is a method on the EloquentBuilder object.
 
PREVIOUS NEXT
Tagged: #laravel
ADD COMMENT
Topic
Name
9+7 =