📜  在 codeigniter 中应用多个 order by - PHP 代码示例

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

代码示例1
$this->db->from($this->table_name);
$this->db->order_by("column1 asc,column2 desc");
$query = $this->db->get(); 
return $query->result();