final class SourceProjection
Restricted visibility: declared "@visibility ZtdQuery\Platform\MySql". Code outside that scope must not name this declaration.

Projects a partition predicate into a derived relation while preserving its alias.

Methods§

public function edit(
    string $sql,
    array{name: string, start: int, unqualifiedStart: int, end: int} $reference,
    list<SqlToken> $tokens,
    int $closeIndex,
    string $predicate,
): array{start: int, end: int, replacement: string}

Parameters

$sqlstring
$referencearray{name: string, start: int, unqualifiedStart: int, end: int}
$tokenslist<SqlToken>
$closeIndexint
$predicatestring

Returns

array{start: int, end: int, replacement: string}
Test cases 2
Called from 1
Calls 3

Test cases 14§

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

Dedicated tests 2
Other tests reaching this symbol 12

Relations§

Instantiated in 1
Method calls 1