Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

PonyORM does something similar in Python:

    select(c for c in Customer if sum(c.orders.total_price) > 1000)
I love the hackiness of it.


PonyORM is my favourite python ORM.

Along with https://pypi.org/project/pony-stubs/, you get decent static typing as well. It's really quite something.


whoa, didn't know PonyORM, looks really neat! thanks for showing




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: