Originally Posted by
mikeel100
What are the additional options ... false, false, 0, true?
From the code:
Code:
function Execute($zf_sql, $zf_limit = false, $zf_cache = false, $zf_cachetime=0, $remove_from_queryCache = false) {
$zf_sql = the query
$zf_limit = how many entries to limit the results to; false for unlimited
$zf_cache = whether to cache the results using the ZC caching
$zf_cachetime = how many seconds to keep the cache for
$remove_from_queryCache = whether to reset the cache for this query
Note: as with all caching systems, the cache is only done on identical incoming query strings. In this case $zf_sql gets hashed and that hash becomes the cache index. If a single character is different on the incoming SQL statement then it won't find an old cached value to re-use.
I suspect 99% likelihood that none of this is relevant in your case. But passing that final 'true' for $remove_from_queryCache might be worth exploring within your "custom scripts" that you're using to inject your data.
None of this is new to v155. It's been around for a long time.
Bookmarks