final class PgSqlCteShadowComposer

Cte shadow composer for PostgreSQL queries.

Methods§

public function carryPrefix(string $originalSql, string $rewrittenStatement): string

Carries a statement's existing WITH clause into the rewritten SQL.

Parameters

$originalSqlstring
$rewrittenStatementstring

Returns

string
Test cases 6
Called from 5
Calls 11

Test cases 38§

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

Dedicated tests 20
Other tests reaching this symbol 18

Relations§

Instantiated in 6
Method calls 7
Type declarations 9