Key Takeaways

SQLAlchemy is both an ORM and a SQL toolkit — pick one, use both, whatever works for your situation.

Learn Engine, Session, and Declarative Base first. Seriously, before you write anything.

Runs on PostgreSQL, MySQL, SQLite, Oracle — you can swap databases without torching the whole codebase.

Introduction