📜  codeigniter order by - PHP 代码示例

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

代码示例2
$this->db->from($this->table_name);
$this->db->order_by("name", "asc");
$query = $this->db->get(); 
return $query->result();