====== cacheFlush ====== ~~NOTOC~~ == Syntax == void function cacheFlush( optional mixed $sql=null, optional mixed $bindVariables=null ) ===== Description ===== The function ''cacheFlush()'' destroys a cached result set described **EXACTLY** like the combination of the $sql statement and, if neccessary the array of bind variables, or, if the $sql parameter is empty, **ALL** cached result sets. ------------------------------------------------------ This is a shortcut to the method '' \ADOdb\sessions\ADOSession\cacheFlush() '' ===== Usage ===== $db->cacheFlush("SELECT * FROM act"); {{tag>cache}}