|
|
|
|
|
by leetrout
2146 days ago
|
|
I hope they prioritize some support for ROLLUP and friends. I’d never used it before and it was fantastic but I had to drop down to raw sql to do it. SQLAlchemy has had support for well beyond a year. I’ve used Django since 2008 and I love it with all its warts but I’ve really grown to prefer SQLAlchemy. |
|
On top of that, you’d need to come up with a decent frontend syntax that aligned with the existing methods.
I think Django made a mistake when first defining the language of aggregates by overloading the values() method and not using group(). To support rollup, values() would need to support it but only when used after an annotate. Not nice.
I often think about what it’d take to use alchemy for the sql building beneath the Django frontend. That would open up so many more possibilities and features.