final class MySqlNativeUpsertProjector

Implements the My Sql Native Upsert Projector contract for MySQL.

Methods§

public function __construct()

Configure the dependencies used by this operation.

Calls 2
public function project(
    string $incomingSql,
    string $tableName,
    list<string> $tableColumns,
    array<string, array<int, string>> $candidateKeys,
    array<string, string> $assignments,
    ?string $predicate = null,
    ?string $conflictPredicate = null,
    ?string $incomingNamespace = null,
): string

Parameters

$incomingSqlstring
$tableNamestring
$tableColumnslist<string>
$candidateKeysarray<string, array<int, string>>
$assignmentsarray<string, string>
$predicate?string
$conflictPredicate?string
$incomingNamespace?string

Returns

string
Test cases 9
Called from 1
Calls 11

Private surface 2§

Implementation details, listed for orientation only.

private IdentifierQuoter $quoter
private SqlLexerProfile $lexerProfile

Test cases 16§

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

Dedicated tests 9
Other tests reaching this symbol 7

Relations§

Instantiated in 1
Method calls 1
Type declarations 1