Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel 6 orderby

$inquiries = Inquiry::all()->sortByDesc('created_at')->sortByDesc('Status')->values();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #orderby
ADD COMMENT
Topic
Name
6+5 =