SQLAlchemy — Overview & Quick Reference
What Is SQLAlchemy?
SQLAlchemy is two tools in one:
SQLAlchemy
├── Core → Python-level SQL expression language. Writes SQL for you.
└── ORM → Maps Python classes ↔ DB tables. You work with objects, not SQL.Most FastAPI apps use the ORM layer. Core runs underneath it silently. Think: Core = engine, ORM = steering wheel.