Mapping Classes with Declarative Declarative Mapping Styles Declarative Mapping using a Decorator (no declarative base) Declarative Table with mapped_column() Accessing Table and MetadataExplicit Schema Name with Declarative TableNaming Declarative Mapped Columns Explicitly Declarative with Imperative Table (a.k.a. Hybrid Declarative) Mapping Declaratively with Reflected Tables Using AutomapMapping to an Explicit Set of Primary Key Columns Mapper Configuration with Declarative Mapper Configuration Options with Declarative Other Declarative Mapping Directives metadata__table_cls__ Augmenting the BaseMixing in RelationshipsUsing Mixins and Base Classes with Mapped Inheritance Patterns Using _orm.declared_attr() to generate table-specific inheriting columns Creating Indexes with Mixins