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

A column of a histogram request that the declared table does not have.

The server reports that the column does not exist and builds or drops no histogram for it. Source: https://dev.mysql.com/doc/refman/8.4/en/analyze-table.html.

Describing the problemdoctest
(new \SqlSemantics\Platform\MySql\Statement\Server\Problem\UnknownHistogramColumn(new \SqlSemantics\Platform\MySql\Model\Statement\Identifier\Name('a')))->message() // => "The column 'a' does not exist."

Properties§

public Name $column

Methods§

public function __construct(public Name $column)

Parameters

$columnNameThe column name as written
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