ORMs are great until they are not. I have seen so many N+1 problems, unnecessary full table scans, and missing indexes from developers who never learned what the ORM was actually generating. Spend a week with raw SQL. Learn to read EXPLAIN ANALYZE. Your applications will thank you.
Comments