I am looking for a way to see generated string of the query but without executing it.
Note that the query hasn\'t been executed before. (I do not wa
As of version 3 of Codeigniter, please refer to this url and also to this.
echo $this->db->update_string();
echo $this->db->get_compiled_update();
echo $this->db->insert_string();
$this->db->get_compiled_insert();
echo $this->db->get_compiled_delete();
echo $this->db->get_compiled_select();