Db::clearCache

Usage

void Db::clearCache()

Description

Upon retrieving table or column names, the results will be cached for future calls to the function during the request. Use this to clear that cache.

Examples

Clear Cache


// Get table names $tables = $this->db->getTableNames(); // The table names are now cached within the Db library. // Clear the cache, so they will be retrived from database again upon next call. $this->db->clearCache();

See Also