4 ms·
AR works nicely for simple basic queries but everything more advanced should be done with custom queries. That helps a lot :)
by trm42 11y ago
AR works nicely for simple basic queries but everything more advanced should be done with custom queries. That helps a lot :)
- jsjohnst 11y agoThe issue is that the line between simple and advanced is blurry, especially for an inexperienced developer. Maybe someday we (Royal we of all software engineers who build tools other engineers use) will learn there's a limit to abstraction layers applicability and put hard breaks into the code when that happens. I guess one shouldn't complain, the more tools allow developers to shoot themselves in the foot and not feel the pain until the leg needs to be cut off, the more variety of positions that will be open for engineers who've been there done that.
- reefoctopus 11y agoSimple: CRUD operations Advanced: Everything else
- jsjohnst 11y agoSadly, it's not that cut and dry. Even what seems to be a simple CRUD retrieve operation to an inexperienced developer could be a very costly thing to do due to relationships between entities.