4 ms·
Unless it contains auto-magical admin interface (like Django's ORM), why would you ever use it over battle-tested SQLAlchemy?
by piotrSikora 16y ago
Unless it contains auto-magical admin interface (like Django's ORM), why would you ever use it over battle-tested SQLAlchemy?
- j_baker 16y agoSome people will say that SQLAlchemy is complex, and there's a grain of truth to that. But I personally think the maturity and featureset makes up for the complexity.
- stevenwei 16y agoI would also say that SQLAlchemy with the declarative extension is actually incredibly easy to use. And once you want to start doing the more complex stuff, SQLAlchemy handles it all just fine, whereas other ORMs tend to fall short rather quickly.
- j_baker 16y agoI agree, but easy to use != simple. For instance, I consider rails to be easy to use, but not simple. :-)
- wladimir 16y agoI've always hated other people's ORMs because they tended to restrict what I could do more then they helped me. However, I love SQLAlchemy. It is complex, and has a bit of a steep learning curve, but it is very very flexible. Nearly everything you can do in SQL, the most complex queries, you can do in SQLAlchemy. But without writing actual SQL. Composing queries using Python expressions is simply great.