3 ms·
>Most ORMs are bad for queries (pull over all the objects and look at their properties!) i would change that to ORMs CAN be bad for queries. most ORMs are supe
by fernandotakai 7y ago
>Most ORMs are bad for queries (pull over all the objects and look at their properties!)
i would change that to ORMs CAN be bad for queries. most ORMs are super configurable and can be changed only to pull specific stuff.
i would argue that most ORMs are a plus to productivity because for most of cases, you just need simple querying (select * from, simple updates, simple deletes).
also, if you really need the power of raw sql you an just use that -- and even then, for most advanced ORMs (django's, for example) exposes a LOT of really advanced sql stuff in python, which, for a lot of developers, is a lot more expressive.