Mapping Classes with Declarative — SQLAlchemy 2.0.0b1 documentation
From Get docs
Sqlalchemy/docs/latest/orm/declarative mapping
Mapping Classes with Declarative
The Declarative mapping style is the primary style of mapping that is used with SQLAlchemy. See the section Declarative Mapping for the top level introduction.
- Table Configuration with Declarative
- Mapper Configuration with Declarative
- Composing Mapped Hierarchies with Mixins
- Augmenting the Base
- Mixing in Columns
- Mixing in Relationships
- Mixing in deferred(), column_property(), and other MapperProperty classes
- Mixing in Association Proxy and Other Attributes
- Controlling table inheritance with mixins
- Mixing in Columns in Inheritance Scenarios
- Combining Table/Mapper Arguments from Multiple Mixins
- Creating Indexes with Mixins