Standard Query:
Code: Select all
$db->sql_query($sql);
Code: Select all
// TRUE|FALSE is the $transaction param from the standard phpBB2 DBAL.
$db->sql_query($sql, (TRUE|FALSE), 'myquery');
Code: Select all
$db->cache_destroy('myquery')/ // Single cache
$db->cache_destroy(); // All cache
MOD Download: mod_sql_caching_100.zip
Changelog:
- 0.1.0 to 1.0.0: Reviewed the code and realized that i had forgotten about the $transaction param so it has been re-inserted. (also submitted to moddb)