final class InsertRowRenderer

Builds INSERT row expressions using supplied values, defaults and generated identities.

Methods§

public function __construct()

Binds the dependencies used by this operation.

Calls 1
public function providedExpressions(
    list<string> $insertColumns,
    list<string> $values,
): array<string, string>
public function render(
    list<string> $tableColumns,
    array<string, string> $providedExpressions,
    array<string, string> $defaults,
    array<string, int> $generatedIdentityValues = [],
): array<string, string>

Parameters

$tableColumnslist<string>
$providedExpressionsarray<string, string>
$defaultsarray<string, string>
$generatedIdentityValuesarray<string, int>

Returns

array<string, string>
Test cases 1
Called from 1
Calls 1

Private surface 1§

Implementation details, listed for orientation only.

private InsertRowProjectionPlanner $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 2
Type declarations 2