Question from a Python web developer. (Django mainly, exploring Flask presently)<p>For a complex web-app, would you suggest an ORM (looking at SQLAlchemy) or a custom module with hand written queries and custom methods for conversion to python objects?<p>My app has a lot of complex queries, joins, etc. and the data-model is most likely to change quite a bit as the app nears production. I feel using an ORM is an unnecessary layer of abstraction in the thinking process. I feel comfortable with direct SQL queries, and in some cases, want to directly get JSON results from PGSQL itself.<p>Would that be a good idea, and more importantly, scalable?<p>Note : My app will be solely developed by me, not expecting to have a team or even another developer work on it.