interface DatabaseOption
    extends Node
Public API: explicitly declared with @visibility public.

An option of CREATE DATABASE or ALTER DATABASE.

Mirrors the HA_CREATE_USED_* fields of HA_CREATE_INFO for a database. Source: https://dev.mysql.com/doc/refman/8.4/en/create-database.html, https://dev.mysql.com/doc/refman/8.4/en/alter-database.html.

Reading the options of CREATE DATABASEdoctest
$create = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('CREATE DATABASE d CHARACTER SET utf8mb4');
    $create->statement->options[0] instanceof \SqlSemantics\Platform\MySql\Statement\Server\Database\DatabaseOption // => true

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§

Implemented by 4
Constant reads 2
Type declarations 1