3 ms·
I'd be curious to know more about those 15 joins. Why do you think the ORM was doing those ? And what DB are you using ?
by ldng 6y ago
I'd be curious to know more about those 15 joins. Why do you think the ORM was doing those ? And what DB are you using ?
- Bedon292 6y agoBasically just a complex permission model based on relationships. Much better handled with a subquery. Mostly on is. I don't blame the ORM entirely, but it was more joins than necessary too.
- ldng 6y agoIsee. Would love to find an elegant way to use PostgreSQL permissions system from Django that would result in a great perf boost, no doubt.