CodeIgniter Forums
Active Record - Retrieving Last Query String - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Active Record - Retrieving Last Query String (/thread-10657.html)



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()