SQLAlchemy
1. Engines: db connection
engine = create_engine('postgresql://usr:pass@localhost:5432/sqlalchemy')Pool = to improve performance.
Dialects = adopt to different DB.
2. Session vs Connection
3. Sessions: sync orm & db
4. Base: base class for all models
Last updated