Answers for "Multiple OrderBy"

0

Multiple OrderBy

$users = DB::table('users')
                ->orderBy('name', 'desc')
                ->orderBy('email', 'asc')
                ->get();
Posted by: Guest on April-27-2021

Browse Popular Code Answers by Language