Mapper Configuration
This section describes a variety of configurational patterns that are usable with mappers. It assumes you’ve worked through Object Relational Tutorial (1.x API) and know how to construct and use rudimentary mappers and relationships.
- Mapping Python Classes
- Mapping Classes with Declarative
- 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
- Mapping Columns and Expressions
- Mapping Class Inheritance Hierarchies
- Non-Traditional Mappings
- Configuring a Version Counter
- Class Mapping API
当前内容版权归 SQLAlchemy 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 SQLAlchemy .