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

Adds evaluated UPSERT assignments and its optional predicate to result rows.

Methods§

public function __construct(private IdentifierQuoter $quoter, private ExpressionBinder $binder)

Use the same identifier and expression bindings as the surrounding projection.

Parameters

public function render(
    string $tableName,
    list<string> $tableColumns,
    array<string, string> $assignments,
    string $conflict,
    ?string $predicate,
    ?string $incomingNamespace,
): list<string>

Parameters

$tableNamestring
$tableColumnslist<string>
$assignmentsarray<string, string>
$conflictstring
$predicate?string
$incomingNamespace?string

Returns

list<string>
Test cases 1
Called from 1
Calls 7

Private surface 2§

Implementation details, listed for orientation only.

private IdentifierQuoter $quoter
private ExpressionBinder $binder

Test cases 9§

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

Dedicated tests 1
Other tests reaching this symbol 8

Relations§

Instantiated in 1
Method calls 1