News for hackers. Stuff that matters.
Re:ORM is an anti-pattern by j-kidd on Saturday September 17, 2011 @11:50PM (#3009434)
> 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))

There are no comments on this comment yet.