3 ms·
I think you should run EXPLAIN ANALYZE on both queries and see what you find.
by zzzeek 14y ago
I think you should run EXPLAIN ANALYZE on both queries and see what you find.
- Demiurge 14y agoI now understand that it won't be optimized away because it's doing something, and I think I still want it to do that something. I've run into plenty of ORM limitations and use custom SQL for procedures and custom joints, but I still wouldn't call Django ORM stupid for doing what it's doing, in this case.