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
You can see the compiled query by either of these functions
/* SELECT */ $this->db->_compile_select(); /* INSERT */ $this->db->_insert(); /* UPDATE */ $this->db->_update();