ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:cacheflush

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");
v5/reference/connection/cacheflush.txt · Last modified: 2016/01/17 01:27 by mnewnham