Hacker News new | ask | show | jobs
by kozlovsky 4850 days ago
One of the goals of Pony ORM is to reduce the necessity of using the specific syntax. For example, in Pony ORM you can write:

    (o for o in Order if o.date_shipped.year == 2012)
instead of something like:

    .filter(extract("year", Order.date_shipped) == 2012)
The goal is to use native Python syntax wherever possible