Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel multiple orderby

User::orderBy('name', 'DESC')
    ->orderBy('email', 'ASC')
    ->get();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #multiple #orderby
ADD COMMENT
Topic
Name
2+9 =