Welcome Guest, Not a member yet? Register   Sign In
Close connection
#11

(08-18-2018, 04:03 AM)InsiteFX Wrote: You would need to keep track of your query caches maybe in an array etc;

Then you could just grab it from your array etc; Then delete that special one.

Can i get query string after run it?
Example:
$this->db->where('ID','1');
$res = $this->db->get('user');
echo $this->db->get_compiled_select(); //here i need last query string
Reply


Messages In This Thread
Close connection - by omid_student - 08-17-2018, 04:07 AM
RE: Close connection - by kaitenz - 08-17-2018, 04:21 AM
RE: Close connection - by whutboy - 08-21-2018, 07:32 PM
RE: Close connection - by InsiteFX - 08-17-2018, 10:24 AM
RE: Close connection - by omid_student - 08-17-2018, 10:40 AM
RE: Close connection - by InsiteFX - 08-18-2018, 04:03 AM
RE: Close connection - by omid_student - 08-19-2018, 12:50 AM
RE: Close connection - by omid_student - 08-21-2018, 10:35 PM
RE: Close connection - by InsiteFX - 08-19-2018, 03:17 AM
RE: Close connection - by omid_student - 08-19-2018, 04:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB