[eluser]Majd Taby[/eluser]
Hey guys, this has me stumped..I've never used flush_cache before and I can't figure out what's going on..
Here's the code:
Code:
$this->CI->db->where('field','value');
$this->CI->db->flush_cache();
$query = $this->CI->db->get_where('test',array(
));
Now when I run it, it prints out:
Code:
SELECT * FROM (`user_records`) WHERE `field` = 'value'
Notice how `field` = 'value' is in the WHERE clause, it's not flushing it...