enum NullTestSpelling
Public API: explicitly declared with @visibility public.

How a NULL test is written: IS [NOT] NULL, or the nonstandard ISNULL and NOTNULL.

Both spellings request the same test; the grammar keeps different token sequences. Source: https://www.postgresql.org/docs/17/functions-comparison.html.

Reading the spelling of a NULL testdoctest
$query = (new \SqlSemantics\Platform\PostgreSql\Semantics())->analyze('SELECT 1 NOTNULL');
    $query->field(0)->expression->spelling // => \SqlSemantics\Platform\PostgreSql\Statement\Expression\Predicate\NullTestSpelling::Postfix

Cases§

case Keywords

IS NULL or IS NOT NULL.

case Postfix

ISNULL or NOTNULL.

Test cases 2§

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 1

Relations§

Constant reads 5
Type declarations 1