final class DeleteTransformer
    implements SqlTransformer

Transforms DELETE statements into SELECT projections with CTE shadowing for SQLite.

SQLite does not support multi-table DELETE, so this is simpler than MySQL.

Methods§

public function __construct(SqliteParser $parser, SelectTransformer $selectTransformer)

Binds the dependencies used by this operation.

Parameters

$parserSqliteParser
$selectTransformerSelectTransformer
Calls 1
public function buildProjection(
    string $sql,
    string $targetTable,
    array<int, string> $columns,
): string

Private surface 3§

Implementation details, listed for orientation only.

private SqliteParser $parser
private SelectTransformer $selectTransformer
private SqliteCteShadowComposer $cteComposer

Test cases 104§

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 95

Relations§

Instantiated in 1
Method calls 1
Type declarations 2