final class ForeignServerRule
Restricted visibility: declared "@visibility SqlSemantics\Platform\MySql\Lowering\Server". Code outside that scope must not name this declaration.

Lowers CREATE, ALTER and DROP SERVER.

Rule: MYSQL-FOREIGN-SERVER-001. Scope: the SERVER alternatives of create, alter and drop (alter and drop in 5.6 and 5.7), server_def (5.6), alter_server_stmt, drop_server_stmt, server_options_list, server_option. Constructs: CreateServer, AlterServer, DropServer, ServerOption. Terminates: the option list is flattened iteratively. Source: https://dev.mysql.com/doc/refman/8.4/en/create-server.html, https://dev.mysql.com/doc/refman/8.4/en/alter-server.html, https://dev.mysql.com/doc/refman/8.4/en/drop-server.html. Status: Implemented.

Methods§

public function __construct(private Lowering $lowering)

Parameters

$loweringLoweringThe lowering this rule belongs to

Private surface 2§

Implementation details, listed for orientation only.

private const OPTIONS = ['server_option: USER TEXT_STRING_sys' => \SqlSemantics\Platform\MySql\Statemen…
private Lowering $lowering

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§

Instantiated in 1
Method calls 1