Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

sort laravel eloquent

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