ADOdb Library for PHP Manual
Prev CacheGetCol Next

CacheGetCol([$secs2cache,] $sql)

Similar to above Get* functions, except that the recordset is serialized and cached in the $ADODB_CACHE_DIR directory for $secs2cache seconds. Good for speeding up queries on rarely changing data. Note that the $secs2cache parameter is optional. If omitted, we use the value in $connection->cacheSecs (default is 3600 seconds, or 1 hour).


Prev Home Next
GetCol Up Replace

Sponsored by phpLens