If you ever have to update thousands of records in a database table, you might want to consider using the bulk update.

This articles shows a way to use CASE statements in MySQL to update multiple records with separate data with a single query which will be faster than using a loop in PHP.

continue reading on dev.to

⚠️ This post links to an external website. ⚠️