consulta de volcado de codeigniter

print_r($this->db->last_query());    
Yawning Yak