Release: 2.1.0b1 | Release Date: January 21, 2026

SQLAlchemy 2.1 Documentation

SQLAlchemy 2.1 Documentation

Home

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
  • Core and ORM Examples

Home

  • 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
    • Registry 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
    • MappedAnnotationError
    • NO_STATE
    • ObjectDeletedError
    • ObjectDereferencedError
    • StaleDataError
    • UnmappedClassError
    • UnmappedColumnError
    • UnmappedError
    • UnmappedInstanceError
Previous: Session API Next: ORM Events
© Copyright 2007-2026, the SQLAlchemy authors and contributors.

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

Created using Sphinx 9.1.0. Documentation last generated: Wed 21 Jan 2026 02:26:37 PM EST