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.
- Declarative Mapping Styles
- Table Configuration with Declarative
- Declarative Table with mapped_column()
- Using Annotated Declarative Table (Type Annotated Forms for mapped_column())
- Accessing Table and Metadata
- Declarative Table Configuration
- Explicit Schema Name with Declarative Table
- Setting Load and Persistence Options for Declarative Mapped Columns
- Naming Declarative Mapped Columns Explicitly
- Appending additional columns to an existing Declarative mapped class
- Declarative with Imperative Table (a.k.a. Hybrid Declarative)
- Mapping Declaratively with Reflected Tables
- Declarative Table with mapped_column()
- Mapper Configuration with Declarative
- Composing Mapped Hierarchies with Mixins
当前内容版权归 SQLAlchemy 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 SQLAlchemy .