Back

πŸ”§ 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

β€’ β€’

44

β€’
β€’
  • No matching results...
  • Searching...

/ 1000

Poll Options