Table of ContentsΒΆ Introducing SQLAlchemy Unchained Useful Links Installation Configuration Using SQLite Using PostgreSQL or MariaDB/MySQL Connect Models Migrations Session and Model Managers Meta Options table (__tablename__) pk (primary key column) created_at (row insertion timestamp) updated_at (last updated timestamp) repr (automatic pretty __repr__) validation polymorphic (mapped model class hierarchies) Model Validation Customizing Meta Options Customizing the Default Primary Key Column Name Lazy Mapping (experimental) API Documentation init_sqlalchemy_unchained scoped_session_factory declarative_base foreign_key BaseModel DeclarativeMeta BaseQuery SessionManager ModelManager ColumnMetaOption ModelMetaOptionsFactory ModelRegistry BaseValidator ValidationError ValidationErrors Required