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

Replace Columns.

Methods§

public function __construct(
    private TableDefinitionRegistry $registry,
    private ShadowStore $shadowStore,
)

Configure the dependencies used by this operation.

Parameters

public function ensureReplaceColumns(ReplaceStatement $statement, string $sql): void

Ensure REPLACE has columns available.

Parameters

$statementReplaceStatement
$sqlstring
Test cases 1
Called from 1
Calls 6
public static function resolveIntoTableName(?IntoKeyword $into): ?string

Resolve table name from an INTO clause.

Parameters

$into?IntoKeyword

Returns

?string
Test cases 1
Called from 1
Calls 1

Private surface 2§

Implementation details, listed for orientation only.

private TableDefinitionRegistry $registry
private ShadowStore $shadowStore

Test cases 5§

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 3

Relations§

Instantiated in 1
Method calls 1