classResetQueryCache
final class ResetQueryCache
implements ResetTarget
uses Snapshot
Public API: explicitly declared with
@visibility public.RESET QUERY CACHE: removes every query result from the query cache (MySQL 5.6 and 5.7; 8.0 removed the cache).
Mirrors the REFRESH_QUERY_CACHE flag of SQLCOM_RESET. Source: https://dev.mysql.com/doc/refman/5.7/en/query-cache-status-and-maintenance.html.
(new \SqlSemantics\Platform\MySql\Semantics('mysql-5.7.44'))->analyze('reset query cache')->toString() // => 'RESET QUERY CACHE'Methods§
public function deriveTarget(Derivation $derivation): voidChecks that the release has a query cache.
Parameters
$derivation | Derivation |
Calls 3
- static-call Check::input() line 32
- method-call Releases::legacy() line 32
- new Releases line 32
public function render(Output $out): voidTest cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.