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

The operator that combines the rows of two queries.

INTERSECT binds more tightly than UNION and EXCEPT; operators of the same level associate from the left. Source: https://www.postgresql.org/docs/17/queries-union.html.

Reading the operator of a set operationdoctest
$query = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT 1 EXCEPT SELECT 2');
    $query->statement->operator // => \SqlSemantics\Platform\PostgreSql\Statement\Query\SetOperator::Except

Cases§

case Union = 'UNION'
case Intersect = 'INTERSECT'
case Except = 'EXCEPT'

Methods§

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§

Method calls 2
Constant reads 4
Type declarations 1