CodeIgniter Forums
SQL from ActiveRecord - 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: SQL from ActiveRecord (/showthread.php?tid=13484)



SQL from ActiveRecord - El Forum - 11-24-2008

[eluser]Unknown[/eluser]
I have build a query using the Active Record syntax. I would like to see the SQL that is being generated. How can I do that?


SQL from ActiveRecord - El Forum - 11-24-2008

[eluser]narkaT[/eluser]
the simplest way is to turn profiling on Wink


SQL from ActiveRecord - El Forum - 11-24-2008

[eluser]Unknown[/eluser]
Thanks. That was easy.