Is there a way to see the query produced by Active record? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Is there a way to see the query produced by Active record? (/showthread.php?tid=36391) |
Is there a way to see the query produced by Active record? - El Forum - 11-30-2010 [eluser]mikekiche[/eluser] All is in the title. Is there a function like $query->produced_query(), to see what active record wrote? Thanks Is there a way to see the query produced by Active record? - El Forum - 11-30-2010 [eluser]keithics[/eluser] what about echo $this->db->last_query(); Is there a way to see the query produced by Active record? - El Forum - 11-30-2010 [eluser]mikekiche[/eluser] thanks That's perfect. |