classEncryptionOption
final class EncryptionOption
implements StorageOption
uses Snapshot
Public API: explicitly declared with
@visibility public.ENCRYPTION [=] {'Y' | 'N'}: whether an InnoDB tablespace is encrypted (MySQL 8.0 and later).
The equals sign is optional and not written. The server checks the value when it executes the statement. Source: https://dev.mysql.com/doc/refman/8.4/en/create-tablespace.html.
(new \SqlSemantics\Platform\MySql\Statement\Server\Storage\Option\EncryptionOption(new \SqlSemantics\Platform\MySql\Statement\Literal\Text('Y')))->encryption->value // => 'Y'Properties§
public Text $encryptionMethods§
public function __construct(public Text $encryption)Parameters
$encryption | Text | The value, 'Y' or 'N' for the server |
public function keyword(): stringAnswers the keyword of the option.
Returns
stringTest cases 1
public function render(Output $out): voidTest cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.