Re:SQLBolt – Interactive lessons and exercises to learn SQL
by moehm on Thursday July 15, 2021 @06:03AM
(#27843065)
Yeah, sure, you can always write raw SQL queries, but that has nothing to do with your ORM, does it?
I was talking about ORMs in general, not about the programmer in particular. So yes, you are right that if you have enough engineering resources you can support everything. But most ORMs don't help you with this, so it is not a feature of ORMs. You can always bypass it though.
The comparison with JS doesn't fit realy well, because JS is the tool you have to use. You don't have to use ORMs, plain SQL works fine as well.
Re:SQLBolt – Interactive lessons and exercises to learn SQL
by rahimnathwani on Thursday July 15, 2021 @10:52AM
(#27845450)
When GP says 'you can use the advanced features', 'you' refers to the person developing the ORM, not to a developer using the ORM.
So the ORM author can do the hard work of allowing advanced features to work across databases. And it's transparent to the developer using the ORM.
That's not true at all, any more that it’s true of supporting all browsers with JS. You can use the advanced features where available, and implement logically (if not performance)-equivalent functionality using more basic functions where the advanced features aren’t available.
Or, if you are lazy, just have a reduced feature set available with less capable RDBMS engines. But, on any case, its simply not the case that an ORM that supports engines of varying capacity is limited to using only the least-common-denominator feature set.