enumKillScope
enum KillScope: string
Public API: explicitly declared with
@visibility public.The modifier of KILL: CONNECTION or QUERY.
Mirrors LEX::type of SQLCOM_KILL: QUERY sets ONLY_KILL_QUERY, which ends only the statement the connection runs; CONNECTION, like no modifier, ends the connection. Source: https://dev.mysql.com/doc/refman/8.4/en/kill.html.
\SqlSemantics\Platform\MySql\Statement\Server\Instance\KillScope::Query->value // => 'QUERY'Cases§
case Connection = 'CONNECTION'case Query = 'QUERY'Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Relations§
Constant reads 2
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Instance\InstanceRule::scope() packages/sql-semantics-mysql/src/Lowering/Server/Instance/InstanceRule.php:98
- class-const SqlSemantics\Platform\MySql\Lowering\Server\Instance\InstanceRule::scope() packages/sql-semantics-mysql/src/Lowering/Server/Instance/InstanceRule.php:99