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

The DISTINCT or ALL written after a set operator.

Without a quantifier a set operation removes duplicate rows, as with DISTINCT; the absence is kept as written. Source: https://dev.mysql.com/doc/refman/8.4/en/set-operations.html.

Reading the quantifier of a uniondoctest
$query = (new \SqlSemantics\Platform\MySql\Semantics())->analyze('SELECT 1 UNION ALL SELECT 2');
    $query->statement->quantifier // => \SqlSemantics\Platform\MySql\Statement\Query\Set\SetQuantifier::All

Cases§

case Distinct = 'DISTINCT'
case All = 'ALL'

Test cases 6§

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 5

Relations§

Constant reads 2
Type declarations 4