enum CountedList: string
Public API: explicitly declared with @visibility public.

The lists whose lengths MySQL requires to agree.

Each case holds the message of the server error it corresponds to. Source: https://dev.mysql.com/doc/refman/8.4/en/set-operations.html, https://dev.mysql.com/doc/refman/8.4/en/values.html, https://dev.mysql.com/doc/refman/8.4/en/select-into.html, https://dev.mysql.com/doc/refman/8.4/en/derived-tables.html, https://dev.mysql.com/doc/refman/8.4/en/with.html.

Reading which lengths disagreedoctest
$query = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT 1 UNION SELECT 1, 2');
    $query->facts->diagnostics[0]->list // => \SqlSemantics\Platform\MySql\Statement\Query\Problem\CountedList::SetOperands

Cases§

case SetOperands = 'The used SELECT statements have a different number of columns'
case ValueRows = 'Column count doesn\'t match value count'
case IntoVariables = 'The number of INTO variables differs from the number of columns'
case DerivedColumns = 'In definition of view, derived table or common table expression, SELECT list a…

Test cases 5§

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 4

Relations§

Constant reads 5
Type declarations 1