final class TableBody
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Table body operations for PostgreSQL definition.

Methods§

public function tableBody(string $sql): ?string
public function splitTableBody(string $body): list<string>

Split table body by top-level commas (respecting parentheses).

Parameters

$bodystring

Returns

list<string>
Test cases 1
Called from 1
Calls 4
public function openingParenthesis(SqlTokenStream $stream, list<SqlToken> $tokens): ?SqlToken
public function skipExistenceGuard(list<SqlToken> $tokens, int $index): ?int

Skips a complete IF NOT EXISTS guard and rejects malformed guards.

Parameters

$tokenslist<SqlToken>
$indexint

Returns

?int
Test cases 1
Called from 1

Test cases 15§

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

Dedicated tests 6
Other tests reaching this symbol 9

Relations§

Instantiated in 2
Method calls 2