Release: 1.3.24
legacy version
| Release Date: March 30, 2021
SQLAlchemy 1.3 Documentation
SQLAlchemy ORM
- Object Relational Tutorial
- Mapper Configuration
- Relationship Configuration¶
- Loading Objects
- Using the Session
- Events and Internals
- ORM Extensions
- ORM Examples
Project Versions
- Previous: Class Mapping API
- Next: Basic Relationship Patterns
- Up: Home
- On this page:
Relationship Configuration¶
This section describes the relationship()
function and in depth discussion
of its usage. For an introduction to relationships, start with the
Object 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
Previous:
Class Mapping API
Next:
Basic Relationship Patterns
© 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 7.2.6. Documentation last generated: Sat 06 Jan 2024 12:16:22 PM