Tag: sqlalchemy
- Flask Recipe - RESTful CRUD using sqlalchemy (25 Jun 2017)
RESTful apps are a thing these days. When your application’s userbase gets quite large and the client could vary from a laptop to an android device to an iOS device, it pays to keep the backend code separate and use the server only for making RESTful calls using HTTP methods...
- Sqlalchemy Hack - How to convert a table to dict on the fly (04 Jul 2015)
In on of my recent projects, I came across the need to develop a JSON based REST API to fetch data from the sqlalchemy objects. Now, the Query object is a great way to access data using the powerful sqlalchemy orm, but it doesn’t give any built-in way to convert...