Comment by withinboredom
1 day ago
Haha. I’ve actually had an ORM attempt to load the whole database just to do a count. That was a fun bug to dig into (nobody noticed until we had a big enough customer) and an easy fix. Literally, all I had to do was mark some fields as lazy loaded.
I think the problem is that it's not very obvious to developers that one or the other thing is going wrong until - as you say - you get a big enough customer.