Release: 1.2.19 | Release Date: April 15, 2019

SQLAlchemy 1.2 Documentation

SQLAlchemy 1.2 Documentation

Home

SQLAlchemy ORM

  • Object Relational Tutorial
  • Mapper Configuration
  • Relationship Configuration
  • Loading Objects¶
    • Loading Columns
    • Relationship Loading Techniques
    • Loading Inheritance Hierarchies
    • Constructors and Object Initialization
    • Query API
  • Using the Session
  • Events and Internals
  • ORM Extensions
  • ORM Examples

Home

  • Previous: Relationships API
  • Next: Loading Columns
  • Up: Home
    • SQLAlchemy ORM
  • On this page:
    • Loading Objects

Loading Objects¶

Notes and features regarding the general loading of mapped objects.

For an in-depth introduction to querying with the SQLAlchemy ORM, please see the Object Relational Tutorial.

  • Loading Columns
    • Deferred Column Loading
    • Column Bundles
  • Relationship Loading Techniques
    • Configuring Loader Strategies at Mapping Time
    • Controlling Loading via Options
    • Lazy Loading
    • Joined Eager Loading
    • Subquery Eager Loading
    • Select IN loading
    • What Kind of Loading to Use ?
    • Polymorphic Eager Loading
    • Wildcard Loading Strategies
    • Routing Explicit Joins/Statements into Eagerly Loaded Collections
    • Creating Custom Load Rules
    • Relationship Loader API
  • Loading Inheritance Hierarchies
    • Using with_polymorphic
    • Polymorphic Selectin Loading
    • Referring to specific subtypes on relationships
    • Loading objects with joined table inheritance
    • Loading objects with single table inheritance
    • Inheritance Loading API
  • Constructors and Object Initialization
    • reconstructor()
  • Query API
    • The Query Object
    • ORM-Specific Query Constructs
Previous: Relationships API Next: Loading Columns
© Copyright 2007-2019, 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: Tue 19 Dec 2023 09:42:07 PM