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

What a JSON constructor does with NULL values: NULL ON NULL keeps them, ABSENT ON NULL leaves them out.

The default differs between JSON_OBJECT (NULL ON NULL) and JSON_ARRAY (ABSENT ON NULL), so the clause written is kept. Source: https://www.postgresql.org/docs/17/functions-json.html#FUNCTIONS-JSON-CREATION-TABLE.

Spelling the clause that leaves NULL values outdoctest
\SqlSemantics\Platform\PostgreSql\Statement\Invocation\Json\JsonNullHandling::Absent->value // => 'ABSENT'

Cases§

case Keep = 'NULL'
case Absent = 'ABSENT'

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§

Constant reads 4
Type declarations 6