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

The truth-value tests, as PostgreSQL's BoolTestType distinguishes them.

Source: https://www.postgresql.org/docs/17/functions-comparison.html.

Reading the kind of a truth-value testdoctest
$query = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT NULL IS NOT UNKNOWN');
    $query->field(0)->expression->kind // => \SqlSemantics\Platform\PostgreSql\Statement\Expression\Predicate\BooleanTestKind::IsNotUnknown

Cases§

case IsTrue = 'IS TRUE'

IS TRUE.

case IsNotTrue = 'IS NOT TRUE'

IS NOT TRUE.

case IsFalse = 'IS FALSE'

IS FALSE.

case IsNotFalse = 'IS NOT FALSE'

IS NOT FALSE.

case IsUnknown = 'IS UNKNOWN'

IS UNKNOWN.

case IsNotUnknown = 'IS NOT UNKNOWN'

IS NOT UNKNOWN.

Test cases 4§

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 3

Relations§

Constant reads 6
Type declarations 1