Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel has many limit

public function posts()
{
    return $this->hasMany('AppModelsPost', 'cat_id')->take(4);
}
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #limit
ADD COMMENT
Topic
Name
6+9 =