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

(This post was last modified: 08-17-2018, 08:42 AM by ciadmin.)

(08-17-2018, 04:19 AM)XtreemDeveloper Wrote: You can use this line after your query

$this->output->delete_cache('path');
Can i use output cache for database?
But my cache is for database
For each query,codeigniter save file in special folder
Actually in segment country/list folder save all caches file
And i need delete special file
Example
$this->db->query('select * from data where id = 1'); => file name is 12asf1af124123123123
$this->db->query('select * from data where id = 2'); => file name is 12asf1afsdfsdfdsf323123

I need delete 12asf1afsdfsdfdsf323123 file not all files in folder
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