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

Binds upsert column references while preserving nested subqueries.

Methods§

public function __construct(
    private non-empty-list<string> $incomingNamespaces,
    private IdentifierQuoter $quoter,
)

Binds accepted incoming namespaces and identifier quoting.

Parameters

$incomingNamespacesnon-empty-list<string>
$quoterIdentifierQuoter
public function bindExpression(
    string $expression,
    string $tableName,
    list<string> $tableColumns,
    string $unqualifiedAlias = '__ztd_existing',
): string

Private surface 2§

Implementation details, listed for orientation only.

private non-empty-list<string> $incomingNamespaces
private IdentifierQuoter $quoter

Test cases 10§

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

Dedicated tests 4
Other tests reaching this symbol 6

Relations§

Instantiated in 1
Method calls 4