mini\Parsing\SQL\SqlRenderer::renderAsDelete() Method

public

Signature

public function renderAsDelete(mini\Database\PartialQuery $query): array

Parameters

Name Type Default Description
$query mini\Database\PartialQuery required Documentation missing

Returns

array

Documentation

Transform a SELECT-based query into a DELETE statement and render it

Validates the query is a single-table SELECT (no JOINs, UNIONs, subquery FROM). Preserves CTEs, WHERE, and LIMIT from the original query.

Source

src/Parsing/SQL/SqlRenderer.php:114-129