Answers for "laravel eloquent orderby and then sort again"

PHP
4

sort laravel eloquent

$posts = Post::orderBy('id', 'DESC')->get();
Posted by: Guest on August-20-2020
0

get all sort by laravel

$results = Project::orderBy('name')->get();
Posted by: Guest on August-20-2020

Code answers related to "laravel eloquent orderby and then sort again"

Browse Popular Code Answers by Language