3 ms·
> claim that it 'abstracts away the sql‘ I have never ever met anyone who genuinely used ORM claim that in any form of shape. The only ever place where I’ve se
by kaba0 4y ago
> claim that it 'abstracts away the sql‘
I have never ever met anyone who genuinely used ORM claim that in any form of shape. The only ever place where I’ve seen it is threads about “how bad ORMs are”, so it is only a strawmen.
ORMs are first and foremost a tool for OLTP-based workflows, helping mapping between objects and db rows, especially for insertions. They are also very great for CRUD operations on tables. They were never meant to abstract away the SQL model, that is one necessarily has to know the underlying tables, and often write queries with manual joins, etc (many ORMs allow custom queries in a cross-DB way). But even in these cases mapping the result is very convenient with an ORM.