Welcome Guest, Not a member yet? Register   Sign In
How can I display the ActiveRecord generated SQL for debugging?
#1

[eluser]EEssam[/eluser]
Hi,

The title says it.

Please help.
#2

[eluser]Pascal Kriete[/eluser]
Before the query runs:
Code:
$this->db->_compile_select();

And after it has run:
Code:
$this->db->last_query();
#3

[eluser]hugle[/eluser]
[quote author="Pascal Kriete" date="1226295076"]Before the query runs:
Code:
$this->db->_compile_select();

And after it has run:
Code:
$this->db->last_query();
[/quote]

thank you so much!




Theme © iAndrew 2016 - Forum software by © MyBB