$this->db->select('*'); code example
Example: codeigniter raw query
$sql="Select * from my_table where 1";
$query = $this->db->query($SQL);
return $query->result_array();
$sql="Select * from my_table where 1";
$query = $this->db->query($SQL);
return $query->result_array();