3 ms·
I mean that's a general problem with ALL ORMs. I've been on Django projects where we had to drop down and pass raw SQL statements. On my current project we don
by djsumdog 8y ago
I mean that's a general problem with ALL ORMs. I've been on Django projects where we had to drop down and pass raw SQL statements.
On my current project we don't use an ORM; just SQL statements and we create classes to match the result set and map into them.
- blattimwind 8y agoDisagree. It's mostly a question of whether the ORM was designed as a "least-common denominator of common operations supported by some RDBMSs" (which is clearly the case for the Django ORM) or as an abstraction of SQL concepts (i.e. a form of relational algebra). The former category generally fares poorly with complex queries or structures; the latter exceeds at them.
- Serow225 8y agoWhat are some good examples of the latter type of ORM? Thanks
- blattimwind 8y agosqlalchemy