Answers for "laravel multiple orderby"

PHP
1

laravel multiple orderby

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

Browse Popular Code Answers by Language