enumFlushOption
enum FlushOption: string
Public API: explicitly declared with
@visibility public.What one item of FLUSH flushes, other than tables.
Mirrors the REFRESH_* flags of LEX::type. Each case holds the keywords it is written with. QUERY CACHE and DES_KEY_FILE exist up to MySQL 5.7, OPTIMIZER_COSTS from MySQL 5.7, HOSTS up to MySQL 8.x. Source: https://dev.mysql.com/doc/refman/8.4/en/flush.html, https://dev.mysql.com/doc/refman/5.7/en/flush.html.
\SqlSemantics\Platform\MySql\Statement\Server\Flush\FlushOption::BinaryLogs->value // => 'BINARY LOGS'Cases§
case ErrorLogs = 'ERROR LOGS'case EngineLogs = 'ENGINE LOGS'case GeneralLogs = 'GENERAL LOGS'case SlowLogs = 'SLOW LOGS'case BinaryLogs = 'BINARY LOGS'case RelayLogs = 'RELAY LOGS'case QueryCache = 'QUERY CACHE'case Hosts = 'HOSTS'case Privileges = 'PRIVILEGES'case Logs = 'LOGS'case Status = 'STATUS'case DesKeyFile = 'DES_KEY_FILE'case Resources = 'USER_RESOURCES'case OptimizerCosts = 'OPTIMIZER_COSTS'Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 1
Relations§
Constant reads 16
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:44
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:44
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:45
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:45
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:46
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:47
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:47
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:48
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:48
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:48
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:49
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:49
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:50
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:50
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Maintenance\FlushRule::items() packages/sql-semantics-mysql/src/Lowering/Server/Maintenance/FlushRule.php:121
- class-const SqlSemantics\Platform\MySql\Statement\Server\Flush\FlushItem::__construct() packages/sql-semantics-mysql/src/Statement/Server/Flush/FlushItem.php:35