News for hackers. Stuff that matters.
Re:Pony ORM - Use Pure Python to Speak to Your Data by kijin on Friday April 19, 2013 @07:52AM (#5576082)
Here's an example from the documentation that just reads like a "rough translation of SQL into Python":

    select((item.order, item.order.total_price,
         sum(item.price * item.quantity))
         for item in OrderItem
         if item.order.total_price < sum(item.price * item.quantity))
Re:Pony ORM - Use Pure Python to Speak to Your Data by kozlovsky on Friday April 19, 2013 @08:47AM (#5576321)
Well, it doesn't seems that "rough" to me, because content of GROUP BY and HAVING sections is determined automatically and there is no need to manually join tables