clear_query_cache() public

Clears the query cache.

One reason you may wish to call this method explicitly is between queries that ask the database to randomize results. Otherwise the cache would see the same SQL query and repeatedly return the same result each time, silently undermining the randomness you were expecting.

Show source
Register or log in to add new notes.
December 10, 2008
0 thanks