Answers for "laravel sortby desc field"

PHP
5

laravel order by desc

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

Browse Popular Code Answers by Language