ponyorm / pony

Pony Object Relational Mapper
Apache License 2.0
3.64k stars 245 forks source link

feature request: named aggregations/annotations #292

Open dekoza opened 7 years ago

dekoza commented 7 years ago

I'd love to be able to somehow name the aggregations to be able to filter on them - just like in Django. I know I can use lambda inside filter() but that's not enough in some cases.

sashaaero commented 7 years ago

Can you show an example of things you wish to be done, please?