4 ms·
You can do joins in Django just fine, and you can even NOT write them and have Django automagically do the correct thing if you know how to use it.
by senko 2y ago
You can do joins in Django just fine, and you can even NOT write them and have Django automagically do the correct thing if you know how to use it.
- ljm 2y agoThe ORMs provided by full stack frameworks like Rails, Django and DotNet are basically engines in and of themselves. They’re doing a lot of work at runtime to reduce pressure on the DB and ensure connections are returned to the pool as soon as possible. They’re not ‘automagic’; you can reason with them quite easily.
- cool_dude85 2y agoThen what's up with the pattern they show of querying every board and then iterating through to query again for every report associated with the board?
- the_gorilla 2y agoI was expecting them to say after introducing this, that they started with an intentionally bad example so they could improve on it. But instead they went on to talk about a 2.5x speedup on something that would already be 100x faster in any other database. I don't get why they're doing this at all.