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

The operators that combine the rows of two queries.

Source: https://sqlite.org/lang_select.html#compound_select_statements.

Reading the operator of a compound querydoctest
$query = (new \SqlSemantics\Platform\Sqlite\Semantics())->analyze('SELECT 1 UNION ALL SELECT 2');
    $query->statement->steps[0]->operator // => \SqlSemantics\Platform\Sqlite\Statement\Query\CompoundOperator::UnionAll

Cases§

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

Test cases 8§

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 7

Relations§

Static calls 1
Constant reads 2
Type declarations 2