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 use some public methods to get SQL queries
$sql = $this->db->get_compiled_select();
$sql = $this->db->get_compiled_insert();
$sql = $this->db->get_compiled_update();
$sql = $this->db->get_compiled_delete();