Skip to content

Commit bd43b53

Browse files
authored
Update MySqlGrammar.php
1 parent ab5fd06 commit bd43b53

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Illuminate/Database/Query/Grammars/MySqlGrammar.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,6 @@ public function prepareBindingsForUpdate(array $bindings, array $values)
455455
/**
456456
* Compile a delete statement without joins into SQL.
457457
*
458-
* MySQL supports ORDER BY and LIMIT on deletes without joins.
459-
* This appends those clauses to the base SQL when present.
460-
*
461458
* @param \Illuminate\Database\Query\Builder $query
462459
* @param string $table
463460
* @param string $where
@@ -483,7 +480,7 @@ protected function compileDeleteWithoutJoins(Builder $query, $table, $where)
483480
*
484481
* Adds ORDER BY and LIMIT if present, for platforms that allow them (e.g., PlanetScale).
485482
*
486-
* Note: Standard MySQL does not support ORDER BY or LIMIT with joined deletes and will throw a syntax error.
483+
* Standard MySQL does not support ORDER BY or LIMIT with joined deletes and will throw a syntax error.
487484
*
488485
* @param \Illuminate\Database\Query\Builder $query
489486
* @param string $table

0 commit comments

Comments
 (0)