SQLAlchemy
The Database Toolkit for Python
  • home
  • features
    • Feature Overview
    • Testimonials
  • blog
  • library
    • Reference
      • Reference Documentation
    • Architecture
    • Citing SQLAlchemy
    • Blog Posts
    • Talks
    • Tutorials
    • Recipes
  • community
    • Get Support
    • Participate
    • Develop
    • Code of Conduct
    • Github
  • download
    • Current Release Series (1.3)
    • Beta release (1.4)
    • Development Access
    • License
    • Version Numbering
    • Release Status
Release: 1.4.0b3 beta release | Release Date: February 15, 2021

SQLAlchemy 1.4 Documentation

SQLAlchemy 1.4 Documentation

beta release

Contents | Index | Download as ZIP file

SQLAlchemy ORM

  • Object Relational Tutorial (1.x API)
  • Mapper Configuration
  • Relationship Configuration
  • Querying Data, Loading Objects
  • Using the Session
  • Events and Internals
  • ORM Extensions
    • Asynchronous I/O (asyncio)
    • Association Proxy
    • Automap
    • Baked Queries
    • Declarative Extensions
      • Declarative API
      • Basic Use
      • Declarative Inheritance
      • Mixin and Custom Base Classes
      • Configuring Relationships¶
        • Evaluation of relationship arguments
        • Configuring Many-to-Many Relationships
      • Table Configuration
    • Mutation Tracking
    • Ordering List
    • Horizontal Sharding
    • Hybrid Attributes
    • Indexable
    • Alternate Class Instrumentation
  • ORM Examples

Project Versions

  • 1.4.0b3

Configuring Relationships¶

This section is covered by Defining Mapped Properties with Declarative.

Evaluation of relationship arguments¶

This section is moved to Late-Evaluation of Relationship Arguments.

Configuring Many-to-Many Relationships¶

This section is moved to Late-Evaluation for a many-to-many relationship.

Previous: Mixin and Custom Base Classes Next: Table Configuration
© 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.1.

SQLAlchemy Sponsors

Python

Website content copyright © by SQLAlchemy authors and contributors. SQLAlchemy and its documentation are licensed under the MIT license.

SQLAlchemy is a trademark of Michael Bayer. mike(&)zzzcomputing.com All rights reserved.

Website generation by zeekofile, with huge thanks to the Blogofile project.