enumBooleanTestKind
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.
$query = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT NULL IS NOT UNKNOWN');
$query->field(0)->expression->kind // => \SqlSemantics\Platform\PostgreSql\Statement\Expression\Predicate\BooleanTestKind::IsNotUnknownCases§
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
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\PredicateRule packages/sql-semantics-postgres/src/Lowering/Expression/PredicateRule.php:65
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\PredicateRule packages/sql-semantics-postgres/src/Lowering/Expression/PredicateRule.php:65
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\PredicateRule packages/sql-semantics-postgres/src/Lowering/Expression/PredicateRule.php:66
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\PredicateRule packages/sql-semantics-postgres/src/Lowering/Expression/PredicateRule.php:66
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\PredicateRule packages/sql-semantics-postgres/src/Lowering/Expression/PredicateRule.php:67
- class-const SqlSemantics\Platform\PostgreSql\Lowering\Expression\PredicateRule packages/sql-semantics-postgres/src/Lowering/Expression/PredicateRule.php:67