[eluser]Alex Jurado[/eluser]
How I can see the query that is generated from ...
Code:
$ci->db->select('id,name,token',FALSE)->from('users')->where(array('id'=>1,'status'=>true));
I need to create a function to get the SQL query, I mean
Code:
SELECT id,name,token FROM users WHERE id = 1 AND status = TRUE;