I am just wondering if there is a built in function to call if you want to get the generated mysql generated string in codeigniter. Consider the following example
$this->db->from('mytable');
$this->db->where('id', $id);
$query = $this->db->get();
I just wondering if there is return $this->db->return_string() that would result to
SELECT * FROM mytable blablablabla blablabla
I am scheming through out their site but seems cannot find what I am looking for.. any input guys?