3 ms·
Have you tried Django's ORM? From what I understand its not perfect, but for the most part it really rocks.
by edu222 14y ago
Have you tried Django's ORM? From what I understand its not perfect, but for the most part it really rocks.
- hcarvalhoalves 14y agoI've been working with Django for 5 years, and I would say Django's ORM is pretty pedestrian, when not downright painful. It fails at simple things like allowing you to GROUP BY without falling back to SQL.
- amatix 14y agoThat used to be the case, it's much better now: see QuerySet.annotate() and QuerySet.aggregate()
- hcarvalhoalves 14y agoI'm aware. These features are not replacement for GROUP BY.