|
|
|
|
|
by randomdata
1230 days ago
|
|
> Yeah, but when you add/change a new property to your most used class you don't have to change 500 odd SQL statements, it just works. ORM doesn't have anything to do with SQL statements. ORM only operates on the results those SQL statements produce. You're probably thinking of the active record pattern, which combines ORM with query building into an interesting monstrosity. Indeed, query builders produce SQL statements and can save you from changing 500 odd raw SQL queries. |
|
But as always: use the right tool for the job. A hammer is a great tool, but not suitable for removing screws (most of the time).