CodeIgniter Forums
Active Record - Retrieving Last Query String - 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: Active Record - Retrieving Last Query String (/showthread.php?tid=10657)



Active Record - Retrieving Last Query String - El Forum - 08-07-2008

[eluser]MexiTek[/eluser]
Is it possible to retrieve the last query string executed by the active record class? It sounds simple enough for me to try implementing it, but I just thought I should see if something similar existed already.


Active Record - Retrieving Last Query String - El Forum - 08-07-2008

[eluser]MexiTek[/eluser]
Nevermind it was: $this->db->last_query()