cacheFlush

Syntax
 void function cacheFlush(
      optional mixed $sql=false,
      optional mixed $bindVariables=false
 )

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.

Usage

$db->cacheFlush("SELECT * FROM act");