Answers for "how to orderby with two fields in laravel"

PHP
1

laravel multiple orderby

User::orderBy('name', 'DESC')
    ->orderBy('email', 'ASC')
    ->get();
Posted by: Guest on June-05-2020

Code answers related to "how to orderby with two fields in laravel"

Browse Popular Code Answers by Language