Answers for "sort the records in ascending order by name in laravel"

PHP
9

order By Asc in laravbel

->orderBy('id', 'DESC');
Posted by: Guest on October-05-2020
4

eloquent model sort by ascending order

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

Code answers related to "sort the records in ascending order by name in laravel"

Browse Popular Code Answers by Language