| ▲ | clutter55561 2 hours ago | |
ORMs have their place but they are leaky as hell. RDMSs are very diverse, have different languages, and require different optimisation techniques. ORMs that try to paper over all the differences fail miserably. They become super complicated and generally produce crap SQL. ORMs also tend to oversimplify database design. They are just tables with primary keys, right? Who needs indices? Who needs to think about collation? God forbid anyone mentions physical organisation of the data! Having said this, I do use a very small subset of SQLAlchemy (the bits I understand) in data pipelines. | ||