π§ Fixed Laravel Bug (and Got My PR Merged!)
Tried to delete 500 rows with batch... Laravel deleted 500,000+ at once π
Turns out, DELETE queries with JOIN + LIMIT/ORDER BY were dropping those clauses - wiping out way more than intended.
I patched it so Laravel now keeps the full query and lets MySQL handle errors properly.
Merged into Laravel 13.x π
β
No more silent mass deletions
π Open source wins again
dev.to/tegos/battling-laravels-sneaky-deletes-how-i-got-order-by-and-limit-to-play-nice-with-joins-ng9
Back