classShowEngineCatalog
final class ShowEngineCatalog
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.SHOW ENGINES (SHOW STORAGE ENGINES): the storage engines of the server.
Rule: MYSQL-SHOW-ENGINECATALOG-001. STORAGE is an optional word (LeafNoise). The columns are those of the layout of MYSQL-SHOW-ROWS-001. Terminates: a fixed layout. Source: https://dev.mysql.com/doc/refman/8.4/en/show-engines.html. Status: Implemented.
$show = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SHOW STORAGE ENGINES');
[$show->field(1)->name?->value, $show->toString()] // => ['Support', 'SHOW ENGINES']Methods§
public function deriveStatement(Derivation $derivation): voidDerives the rows.
Parameters
$derivation | Derivation |
Calls 3
- method-call ShowFacts::rows() line 37
- new ShowFacts line 37
- class-const Report::Engines() line 37
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.
Dedicated tests 1
Relations§
Instantiated in 2
- new SqlSemantics\Platform\MySql\Lowering\Utility\Show\LegacyObjectRule::engines() packages/sql-semantics-mysql/src/Lowering/Utility/Show/LegacyObjectRule.php:212
- new SqlSemantics\Platform\MySql\Lowering\Utility\Show\ServerRule::statement() packages/sql-semantics-mysql/src/Lowering/Utility/Show/ServerRule.php:68