final class InsertSelectRenderer

Projects INSERT SELECT results onto target table columns.

Methods§

public function __construct()

Binds the dependencies used by this operation.

Calls 2
public function render(
    string $selectSql,
    list<string> $tableColumns,
    list<string> $insertColumns,
    array<string, string> $defaults,
    array<string, int> $generatedIdentityStarts = [],
): string

Parameters

$selectSqlstring
$tableColumnslist<string>
$insertColumnslist<string>
$defaultsarray<string, string>
$generatedIdentityStartsarray<string, int>

Returns

string
Test cases 1
Called from 1
Calls 4
public function renderGeneratedIdentity(int $start): string

Private surface 2§

Implementation details, listed for orientation only.

private SqliteIdentifierQuoter $quoter
private InsertSelectProjectionPlanner $projectionPlanner

Test cases 12§

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

Dedicated tests 3
Other tests reaching this symbol 9

Relations§

Instantiated in 1
Method calls 1
Type declarations 2