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

Renders a candidate-key predicate for native upsert evaluation.

Methods§

public function __construct(private IdentifierQuoter $quoter)

Binds the collaborators used by this operation.

Parameters

public function conflictPredicate(
    array<string, array<int, string>> $candidateKeys,
    string $existingAlias,
    string $incomingAlias,
): string

Parameters

$candidateKeysarray<string, array<int, string>>
$existingAliasstring
$incomingAliasstring

Returns

string
Test cases 1
Called from 1
Calls 2

Private surface 1§

Implementation details, listed for orientation only.

private IdentifierQuoter $quoter

Test cases 9§

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

Dedicated tests 2
Other tests reaching this symbol 7

Relations§

Instantiated in 3
Method calls 3