enum VariableScope: string
Public API: explicitly declared with @visibility public.

The scope a system variable is read from or assigned in.

LOCAL is a synonym of SESSION. PERSIST and PERSIST_ONLY are scopes of SET only. Source: https://dev.mysql.com/doc/refman/8.4/en/using-system-variables.html, https://dev.mysql.com/doc/refman/8.4/en/set-variable.html.

Reading the keyword of a scopedoctest
\SqlSemantics\Platform\MySql\Statement\Variable\VariableScope::PersistOnly->value // => 'PERSIST_ONLY'

Cases§

case Global = 'GLOBAL'
case Session = 'SESSION'
case Persist = 'PERSIST'
case PersistOnly = 'PERSIST_ONLY'

Test cases 13§

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 12

Relations§

Constant reads 22
Type declarations 13