I have an update query which I use for keeping log of actions by appending to existing column data. It works fine if directly executed from phpmyadmin but doesn't work from Codeigniter. Please help.
$query=$this->db->set('log','CONCAT(log,"check")',FALSE);
$query=$this->db->where('label_id',3)->update('labels_table');
Above query executes but instead of appending, it replaces the content of log(Type=text)
$this->db->update('labels_table');withecho $this->db->get_compiled_update('labels_table');to get the compiled update statement without executing the query itself.