Welcome Guest, Not a member yet? Register   Sign In
active record SQL text
#1

[eluser]sawatdee[/eluser]
Is there a way to get the actual SQL produced by active record calls such as the insert function?
#2

[eluser]ScottBruin[/eluser]
See manual, especially $this->db->last_query() and $this->db->insert_string().
#3

[eluser]Derek Allard[/eluser]
Thanks Scott. Man, I live with last_query(). I keep a copy of
Code:
echo '<p>'.$this->db->last_query();.'</p>';
on my clipboard at all times Smile




Theme © iAndrew 2016 - Forum software by © MyBB