📜  codeigniter 查询生成器 order by - PHP 代码示例

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

代码示例4
$this->db->order_by('RegisteredUserID','ASC')
// Produces: ORDER BY `RegisteredUserID` ASC

$this->db->order_by('RegisteredUserID','DESC')
// Produces: ORDER BY `RegisteredUserID` DESC