classStorageAttribute
final class StorageAttribute
implements ColumnAttribute
uses Snapshot
Public API: explicitly declared with
@visibility public.The STORAGE attribute of a column of an NDB table.
Source: https://dev.mysql.com/doc/refman/8.4/en/create-table.html#create-table-ndb-column-options.
$create = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('CREATE TABLE t (a INT STORAGE DISK)');
$create->statement->elements[0]->specification->attributes[0] instanceof \SqlSemantics\Platform\MySql\Statement\Table\Column\StorageAttribute // => trueProperties§
public StorageMedium $mediumMethods§
public function __construct(public StorageMedium $medium)Parameters
$medium | StorageMedium | Where the column is stored |
public function deriveAttribute(Derivation $derivation, Environment $scope): voidDerives nothing: the attribute holds no expression.
Parameters
$derivation | Derivation | |
$scope | Environment |
public function render(Output $out): voidTest cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.