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

Resolve MySQL row writes into the core row mutation objects.

Methods§

public function __construct(
    private DeleteTransformer $deleteTransformer,
    private TableDefinitionRegistry $registry,
    private ShadowStore $shadowStore,
    private UpdateTransformer $updateTransformer,
)

Configure the dependencies used by this operation.

Parameters

$deleteTransformerDeleteTransformer
$registryTableDefinitionRegistry
$shadowStoreShadowStore
$updateTransformerUpdateTransformer
public function resolveReplace(ReplaceStatement $statement, string $sql): ShadowMutation

Private surface 4§

Implementation details, listed for orientation only.

private DeleteTransformer $deleteTransformer
private TableDefinitionRegistry $registry
private ShadowStore $shadowStore
private UpdateTransformer $updateTransformer

Test cases 9§

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

Dedicated tests 5
Other tests reaching this symbol 4

Relations§

Instantiated in 4
Method calls 4