Re:What ORMs have taught me: just learn SQL (2014)
by manicdee on Sunday December 17, 2017 @11:34PM
(#15949452)
This is especially true where the ORM can mask things such as moving a column to an associated table. The ORM knows that object.attribute is now represented in the object_attribute table with the relationship using object_attribute.pk in the object.attribute column (which may or may not be renamed to attribute_id).
No need to rewrite all your SQL, just the ORM description of the model!
Re:What ORMs have taught me: just learn SQL (2014)
by Joeri on Monday December 18, 2017 @12:41AM
(#15949677)
Realistically though, if you’re querying the same table from that many places your architecture is already in trouble. So editing the queries shouldn’t be that big of a deal.
No need to rewrite all your SQL, just the ORM description of the model!