DEV Community

Discussion on: Developer Fears: Breaking Production

Collapse
 
itsasine profile image
ItsASine (Kayla)

💡 pro-tip: Start your queries by writing the WHERE clause, that way you make sure you don't forget about it.

That didn't help with a support ticket we had one day on my team. Ends up, he typoed a semicolon before the WHERE, terminating the statement. But that wasn't caught in code review because the WHERE was there.

We had been trying to get backup testing prioritized for years, but at least they worked when we needed them :)