SQLAlchemy
The Database Toolkit for Python
The Database Toolkit for Python
  • home
  • features
    • Philosophy Statement
    • Feature Overview
    • Testimonials
  • news
  • documentation
    • Current Documentation (version 2.0)

    • Documentation by Version
    • Version 2.0
    • Version 1.4
    • Version 1.3

    • Talks and Tutorials
    • Published content overview
  • community
    • Get Support
    • Participate
    • Develop
    • Code of Conduct
    • Github
  • download
    • Download
    • Current Release Series (2.0)
    • Maintenance Release (1.4)
    • Development Access
    • License
    • Version Numbering
    • Release Status
Release: 2.0.7 current release | Release Date: March 18, 2023

SQLAlchemy 2.0 Documentation

SQLAlchemy 2.0 Documentation

current release

Home | Download this Documentation

SQLAlchemy ORM

  • ORM Quick Start
  • ORM Mapped Class Configuration
  • Relationship Configuration
  • ORM Querying Guide
  • Using the Session
  • Events and Internals¶
    • ORM Events
    • ORM Internals
    • ORM Exceptions
  • ORM Extensions
  • ORM Examples

Project Versions

  • 2.0.7

Home | Download this Documentation

  • Previous: Session API
  • Next: ORM Events
  • Up: Home
    • SQLAlchemy ORM
  • On this page:
    • Events and Internals

Events and Internals¶

The SQLAlchemy ORM as well as Core are extended generally through the use of event hooks. Be sure to review the use of the event system in general at Events.

  • ORM Events
    • Session Events
    • Mapper Events
    • Instance Events
    • Attribute Events
    • Query Events
    • Instrumentation Events
  • ORM Internals
    • AttributeState
    • CascadeOptions
    • ClassManager
    • ColumnProperty
    • Composite
    • CompositeProperty
    • AttributeEventToken
    • IdentityMap
    • InspectionAttr
    • InspectionAttrInfo
    • InstanceState
    • InstrumentedAttribute
    • LoaderCallableStatus
    • Mapped
    • MappedColumn
    • MapperProperty
    • MappedSQLExpression
    • InspectionAttrExtensionType
    • NotExtension
    • merge_result()
    • merge_frozen_result()
    • PropComparator
    • Relationship
    • RelationshipDirection
    • RelationshipProperty
    • SQLORMExpression
    • Synonym
    • SynonymProperty
    • QueryContext
    • QueryableAttribute
    • UOWTransaction
  • ORM Exceptions
    • ConcurrentModificationError
    • DetachedInstanceError
    • FlushError
    • LoaderStrategyException
    • NO_STATE
    • ObjectDeletedError
    • ObjectDereferencedError
    • StaleDataError
    • UnmappedClassError
    • UnmappedColumnError
    • UnmappedError
    • UnmappedInstanceError
Previous: Session API Next: ORM Events
© Copyright 2007-2023, the SQLAlchemy authors and contributors.

flambé! the dragon and The Alchemist image designs created and generously donated by Rotem Yaari.

Created using Sphinx 5.3.0. Documentation last generated: Sun 19 Mar 2023 06:15:42 PM

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.

Mastodon