7 ms·
"That kind of problem happens with regular SQL all the time" Well, no, it doesn't. I told you to learn SQL properly. When you do, you know what a query plan is
by dahwolf 4y ago
"That kind of problem happens with regular SQL all the time"
Well, no, it doesn't. I told you to learn SQL properly. When you do, you know what a query plan is. Which is something you'd rarely need if you know how to design a database and its indices.
All of this would be covered in every beginner's book.
- lmm 4y agoI'm aware of what a query plan is. I can see that the query plan is wrong. There's nothing I can do about it, since I took the standard advice on HN and used PostgreSQL as my database. Meanwhile if you'd applied the same "learning it properly" standard to your ORM you would never have had the problem you described.