final class JsonOptionsRule
    implements RewriteRule

Applies syntax-level SQL/JSON option restrictions from parse_expr.c/transformJsonFuncExpr.

Methods§

public function rewrite(TerminalSequence $sequence): TerminalSequence

Keeps options scoped to their function or JSON_TABLE column, preserving nested expressions.

Parameters

Test cases 20
Calls 6
public function behaviors(
    TerminalSequence $sequence,
    int $owner,
    list<string> $allowed,
): TerminalSequence

Retains valid behavior alternatives and replaces only those forbidden for this function.

Parameters

$sequenceTerminalSequence
$ownerint
$allowedlist<string>
Test cases 18
Called from 1
Calls 4

Test cases 27§

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

Dedicated tests 21
Other tests reaching this symbol 6

Relations§

Instantiated in 1