接下来,我们将会对对象关系映射器进行全面的介绍和描述。如果你想用它为你的应用程序构建更高层次的SQL操作模式,以及为你的Python对象提供自动化的持久性功能,那么首先进行下列教程的学习吧。
- 首先请看: 对象关系理论指南
- ORM的基本配置: 映射器的配置 | 关联的配置 | 继承映射 | 对象集合的高级配置
- 配置的扩展: 声名式的扩展 |辅助代理 | 混合属性 | 可变标量 | 排序列表
- ORM的使用: 会话的使用和指南 | 查询API | 关联数据延迟加载技术
- ORM的扩展 : ORM事件接口 | 内部API
- 其它: 实例介绍 | 已过时的事件接口 | ORM异常 | 水平数据分片 | 备用说明
Here, the Object Relational Mapper is introduced and fully described. If you want to work with higher-level SQL which is constructed automatically for you, as well as automated persistence of Python objects, proceed first to the tutorial.
- Read this first: Object Relational Tutorial
- ORM Configuration: Mapper Configuration | Relationship Configuration | Inheritance Mapping | Advanced Collection Configuration
- Configuration Extensions: Declarative Extension |Association Proxy | Hybrid Attributes | Mutable Scalars |Ordered List
- ORM Usage: Session Usage and Guidelines | Query API reference | Relationship Loading Techniques
- Extending the ORM: ORM Event Interfaces | Internals API
- Other: Introduction to Examples | Deprecated Event Interfaces | ORM Exceptions | Horizontal Sharding | Alternate Instrumentation