Tutorial

Sqlalchemy 101

It's been a long time since I last updated Pysawndz and one of the things that I wanted to do is to use an ORM with it. Right now it relies heavily on PyQt's QtSql package together with a Db class that I made that facilitates database queries. This type of approach just doesn't scale and hard to manage plus the only time it can handle complex queries was by passing the SQL statements itself. Back then this was the best way since I have limited time and spending some of it just to study sqlalchemy will just make me far from having something to present.

Syndicate content