Release: 1.4.7
current release
| Release Date: April 9, 2021
SQLAlchemy 1.4 Documentation
SQLAlchemy ORM
- Object Relational Tutorial (1.x API)
- Mapper Configuration¶
- Relationship Configuration
- Querying Data, Loading Objects
- Using the Session
- Events and Internals
- ORM Extensions
- ORM Examples
Project Versions
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
Previous:
Object Relational Tutorial (1.x API)
Next:
Mapping Python Classes
© Copyright 2007-2021, the SQLAlchemy authors and contributors.
flambé! the dragon and The Alchemist image designs created and generously donated by Rotem Yaari.
Created using Sphinx 3.5.4.