Re:Things I wished more developers knew about databases
by oftenwrong on Wednesday April 22, 2020 @06:55PM
(#22951096)
When you give an object the power to access to the db, you invariably end up with db access everywhere you can pass that object.
Not to mention, 50%+ of ORM managed DB schemas that I've observed don't have proper constraints, indexes, relationships, etc. Because the developers using the ORM think it's a magical tool that makes understanding SQL and relational databases optional.