Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

sort laravel eloquent

$posts = Post::orderBy('id', 'DESC')->get();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #sort #laravel #eloquent
ADD COMMENT
Topic
Name
5+2 =