Запрос дампа codeigniter
print_r($this->db->last_query());
Yawning Yak
print_r($this->db->last_query());