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

The histogram request of ANALYZE TABLE (MySQL 8.0 and later): update, load or drop the histograms of columns.

Mirrors Sql_cmd_analyze_table::Histogram_command. Source: https://dev.mysql.com/doc/refman/8.4/en/analyze-table.html.

Reading the columns of a histogram requestdoctest
$analyze = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('ANALYZE TABLE t DROP HISTOGRAM ON a, b');
    count($analyze->statement->histogram?->columns() ?? []) // => 2

Methods§

public function columns(): list<Name>

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 3
Method calls 1
Type declarations 3