Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could use dbapi's query parametrisation instead of string concatenation, or maybe use sqlalchemy's SQL Expression if you don't want to write SQL.

ORMs are not a panacea. Especially when the database schema gets more complicated they require more setup and tuning, and there's always the problem of how much data the ORM should suck in vs. how lazy it can behave.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: