3 ms·
The one that bit me with sqlalchemy is joins. You have to structure your sqlalchemy object in a specific way to do joins. Usually I write my sql query then spen
by sethammons 9y ago
The one that bit me with sqlalchemy is joins. You have to structure your sqlalchemy object in a specific way to do joins. Usually I write my sql query then spend half an hour trying to convert it to sqlalchemy.
- nine_k 9y agoHaving PK relations defined was usually sufficient for me. I like SQLAlchemy for its straightforward mapping of SQL. I don't usually work on the "model" level, though; I work on "table" level.