classShowPlugins
final class ShowPlugins
implements Statement
uses Snapshot
Public API: explicitly declared with
@visibility public.SHOW PLUGINS: the plugins of the server.
Rule: MYSQL-SHOW-PLUGINS-001. 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-plugins.html. Status: Implemented.
$show = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SHOW PLUGINS');
[$show->field(0)->name?->value, $show->toString()] // => ['Name', 'SHOW PLUGINS']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::Plugins() 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::server() packages/sql-semantics-mysql/src/Lowering/Utility/Show/LegacyObjectRule.php:185
- new SqlSemantics\Platform\MySql\Lowering\Utility\Show\ServerRule::statement() packages/sql-semantics-mysql/src/Lowering/Utility/Show/ServerRule.php:58