In fact, I saw some suggestions in stackoverflow, but did not get an exact solution to this problem. Please do not think that this is a duplicate.
I use memcache for my codeigniter site and active records to build the request. I use
this->db->return_query_string();
to receive a request from active records before execution. Now I want to clear active records by running the same query.
also from various links
$this->db->start_cache(); $this->db->stop_cache(); $this->db->flush_cache()
can do the job, is this the exact result? if so, how can I get a cached request without executing
source share