ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v6:reference:connection:cacheflush

cacheFlush

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");
v6/reference/connection/cacheflush.txt · Last modified: by 127.0.0.1