Hacker News new | past | comments | ask | show | jobs | submit login

> SQL is much more versatile and flexible than objects/structs

SQL isn't even turing complete. How can it be more versatile and flexible than your programming language of choice?

> How would you expect an ORM to generate a "dense" query like this with it's simplistic view of things ?

In SQLAlchemy,

    cls.query.filter(<some_condition_on_another_field>).update(dict(one_field=value))



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

Search: