📜  多个 OrderBy - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:01.834000             🧑  作者: Mango

代码示例1
$users = DB::table('users')
                ->orderBy('name', 'desc')
                ->orderBy('email', 'asc')
                ->get();