final class TableValueConstructorRule
    implements RewriteRule

sql_resolver.cc disallows empty rows and DEFAULT outside an INSERT table value constructor.

Methods§

public function rewrite(TerminalSequence $sequence): TerminalSequence

Completes empty query rows with NULL and replaces bare DEFAULT while preserving INSERT sources.

Parameters

Test cases 60
Calls 5
public function isInsertSource(TerminalSequence $sequence, TerminalOccurrence $origin): bool

Mirrors PT_insert's direct-constructor conversion through parentheses, excluding set operations and subqueries.

Parameters

Returns

bool
Test cases 61
Called from 1
Calls 3

Test cases 76§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 70
Other tests reaching this symbol 6

Relations§

Instantiated in 1