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

The option of XA END: SUSPEND or SUSPEND FOR MIGRATE.

Mirrors XA_SUSPEND and XA_FOR_MIGRATE of xa_option_words. Each case holds the keywords it is written with. The grammar accepts both; the server answers ER_XAER_INVAL when it executes either. Source: https://dev.mysql.com/doc/refman/8.4/en/xa-statements.html.

Reading the keywords of a casedoctest
\SqlSemantics\Platform\MySql\Statement\Server\Transaction\Xa\XaEndOption::SuspendForMigrate->value // => 'SUSPEND FOR MIGRATE'

Cases§

case Suspend = 'SUSPEND'
case SuspendForMigrate = 'SUSPEND FOR MIGRATE'

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 4
Type checks 1
Type declarations 3