Relationship Configuration
This section describes the relationship()
function and in depth discussionof its usage. For an introduction to relationships, start with theObject Relational Tutorial and head into Building a Relationship.
- Basic Relationship Patterns
- Adjacency List Relationships
- Linking Relationships with Backref
- Configuring how Relationship Joins
- Handling Multiple Join Paths
- Specifying Alternate Join Conditions
- Creating Custom Foreign Conditions
- Using custom operators in join conditions
- Custom operators based on SQL functions
- Overlapping Foreign Keys
- Non-relational Comparisons / Materialized Path
- Self-Referential Many-to-Many Relationship
- Composite “Secondary” Joins
- Relationship to Aliased Class
- Row-Limited Relationships with Window Functions
- Building Query-Enabled Properties
- Collection Configuration and Techniques
- Special Relationship Persistence Patterns
- Relationships API
当前内容版权归 SQLAlchemy 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 SQLAlchemy .