Cache
class Cache (View source)
Handles caching results
Methods
void
cacheTableData(string $database, array $tables)
Caches table data so Table does not require to issue SHOW TABLE STATUS again
void
cacheTableValue(string $db, string $table, string $key, string|int|null $value)
Set an item in the cache
array|string|int|null
getCachedTableContent(string $db, string $table, string|null $key = null)
Get a cached value from table cache.
void
clearTableCache()
No description
Details
void
cacheTableData(string $database, array $tables)
Caches table data so Table does not require to issue SHOW TABLE STATUS again
void
cacheTableValue(string $db, string $table, string $key, string|int|null $value)
Set an item in the cache
array|string|int|null
getCachedTableContent(string $db, string $table, string|null $key = null)
Get a cached value from table cache.
void
clearTableCache()
No description