final class HistogramTables
    implements Diagnostic
    uses Snapshot
Public API: explicitly declared with @visibility public.

A histogram request of ANALYZE TABLE that names more than one table.

The server builds or drops histograms for one table only and reports an error instead. Source: https://dev.mysql.com/doc/refman/8.4/en/analyze-table.html.

Describing the problemdoctest
(new \SqlSemantics\Platform\MySql\Statement\Server\Problem\HistogramTables(2))->message() // => 'A histogram request names one table, not 2.'

Properties§

public int $count

Methods§

public function __construct(public int $count)

Parameters

$countintThe number of tables the statement names
public function message(): string

Describes the problem.

Returns

string
Test cases 1

Test cases 2§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 1

Relations§

Instantiated in 1